From c30449c4794809cdbfa40c4a5fb9d5bf65d51bab Mon Sep 17 00:00:00 2001 From: anonoe <8bdd1ef7-1633-4e26-83a0-8dda8605bcd0@aleeas.com> Date: Mon, 9 Feb 2026 20:07:53 +0100 Subject: [PATCH] add basic scenes --- .editorconfig | 4 ++++ .gitattributes | 2 ++ .gitignore | 9 +++++++++ Main.tscn | 5 +++++ Player.tscn | 10 ++++++++++ icon.svg | 1 + icon.svg.import | 43 +++++++++++++++++++++++++++++++++++++++++++ ocker.csproj | 7 +++++++ ocker.sln | 19 +++++++++++++++++++ project.godot | 29 +++++++++++++++++++++++++++++ 10 files changed, 129 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Main.tscn create mode 100644 Player.tscn create mode 100644 icon.svg create mode 100644 icon.svg.import create mode 100644 ocker.csproj create mode 100644 ocker.sln create mode 100644 project.godot diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4561ee1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# Godot 4+ specific ignores +.godot/ +/android/ + +# CGPT recommended: +.mono/ +.import/ +*.tmp +*.user diff --git a/Main.tscn b/Main.tscn new file mode 100644 index 0000000..1accfe4 --- /dev/null +++ b/Main.tscn @@ -0,0 +1,5 @@ +[gd_scene format=3 uid="uid://dackb8ekt4sk6"] + +[node name="Main" type="Node2D" unique_id=1194367579] + +[node name="Overworld" type="Node2D" parent="." unique_id=1249792834] diff --git a/Player.tscn b/Player.tscn new file mode 100644 index 0000000..e1222a9 --- /dev/null +++ b/Player.tscn @@ -0,0 +1,10 @@ +[gd_scene format=3 uid="uid://bjt15rm720w5g"] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_0rwas"] + +[node name="Player" type="CharacterBody2D" unique_id=1675096620] + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=554119030] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1337429488] +shape = SubResource("CapsuleShape2D_0rwas") diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..c6bbb7d --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..a9291e6 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://brj2yvjdkqo5t" +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/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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 diff --git a/ocker.csproj b/ocker.csproj new file mode 100644 index 0000000..63a009f --- /dev/null +++ b/ocker.csproj @@ -0,0 +1,7 @@ + + + net8.0 + net9.0 + true + + \ No newline at end of file diff --git a/ocker.sln b/ocker.sln new file mode 100644 index 0000000..a7acd5b --- /dev/null +++ b/ocker.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ocker", "ocker.csproj", "{284911ED-CF87-4575-979A-EF1974C95507}" +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 + {284911ED-CF87-4575-979A-EF1974C95507}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {284911ED-CF87-4575-979A-EF1974C95507}.Debug|Any CPU.Build.0 = Debug|Any CPU + {284911ED-CF87-4575-979A-EF1974C95507}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {284911ED-CF87-4575-979A-EF1974C95507}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {284911ED-CF87-4575-979A-EF1974C95507}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {284911ED-CF87-4575-979A-EF1974C95507}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..1407107 --- /dev/null +++ b/project.godot @@ -0,0 +1,29 @@ +; 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="ocker" +config/features=PackedStringArray("4.6", "GL Compatibility") +config/icon="res://icon.svg" + +[dotnet] + +project/assembly_name="ocker" + +[physics] + +3d/physics_engine="Jolt Physics" + +[rendering] + +rendering_device/driver.windows="d3d12" +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility"