Skip to content

Commit

Permalink
Begin
Browse files Browse the repository at this point in the history
  • Loading branch information
ar1a committed Sep 27, 2024
0 parents commit 025a96d
Show file tree
Hide file tree
Showing 12 changed files with 191 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Godot 4+ specific ignores
.godot/
/android/
39 changes: 39 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "coreclr",
"request": "launch",
"program": "${config:godot-dotnet-tools.executablePath}",
"preLaunchTask": "build",
"args": [
"--path",
"${workspaceRoot}"
],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "Launch Editor",
"type": "coreclr",
"request": "launch",
"program": "${config:godot-dotnet-tools.executablePath}",
"preLaunchTask": "build",
"args": [
"--path",
"${workspaceRoot}",
"--editor"
],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": "Attach to Process",
"type": "coreclr",
"request": "attach"
}
]
}
7 changes: 7 additions & 0 deletions .vscode/ruleset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Rules for C#" Description="Custom Rules" ToolsVersion="16.0">
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.Features" RuleNamespace="Microsoft.CodeAnalysis.CSharp.Features">
<!-- Disables namespace warning -->
<Rule Id="CA1050" Action="None" />
</Rules>
</RuleSet>
22 changes: 22 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build"
],
"problemMatcher": "$msCompile",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
}
]
}
1 change: 1 addition & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions icon.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://o0q234dtpu7r"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.svg"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
24 changes: 24 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=5

[application]

config/name="puzzle course"
run/main_scene="res://scenes/Main.tscn"
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
config/icon="res://icon.svg"

[dotnet]

project/assembly_name="puzzle course"

[editor]

naming/scene_name_casing=1
9 changes: 9 additions & 0 deletions puzzle course.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Godot.NET.Sdk/4.4.0-dev.2">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net7.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>puzzlecourse</RootNamespace>
</PropertyGroup>
</Project>
19 changes: 19 additions & 0 deletions puzzle course.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "puzzle course", "puzzle course.csproj", "{9FED7255-ED2C-4AAB-9F8C-C0FB0D5A11CD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
ExportDebug|Any CPU = ExportDebug|Any CPU
ExportRelease|Any CPU = ExportRelease|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9FED7255-ED2C-4AAB-9F8C-C0FB0D5A11CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9FED7255-ED2C-4AAB-9F8C-C0FB0D5A11CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9FED7255-ED2C-4AAB-9F8C-C0FB0D5A11CD}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
{9FED7255-ED2C-4AAB-9F8C-C0FB0D5A11CD}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
{9FED7255-ED2C-4AAB-9F8C-C0FB0D5A11CD}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
{9FED7255-ED2C-4AAB-9F8C-C0FB0D5A11CD}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
EndGlobalSection
EndGlobal
15 changes: 15 additions & 0 deletions scenes/Main.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using Godot;

public partial class Main : Node2D
{
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
GD.Print("Hello World!");
GD.Print("a");
}

// Called every frame. 'delta' is the elapsed time since the previous frame.
public override void _Process(double delta) { }
}
13 changes: 13 additions & 0 deletions scenes/Main.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[gd_scene load_steps=3 format=3 uid="uid://bd6mansuv4861"]

[ext_resource type="Script" path="res://scenes/Main.cs" id="1_mj8s0"]

[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_66abb"]
size = Vector2(64, 64)

[node name="Main" type="Node2D"]
script = ExtResource("1_mj8s0")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("PlaceholderTexture2D_66abb")
centered = false

0 comments on commit 025a96d

Please sign in to comment.