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..0af181c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ 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..e606ca2 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://clwi7x2dscmpt" +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/project.godot b/project.godot new file mode 100644 index 0000000..f51769b --- /dev/null +++ b/project.godot @@ -0,0 +1,23 @@ +; 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="X" +config/features=PackedStringArray("4.6", "Forward Plus") +config/icon="res://icon.svg" + +[physics] + +3d/physics_engine="Jolt Physics" + +[rendering] + +rendering_device/driver.windows="d3d12" diff --git a/scene/char.tscn b/scene/char.tscn new file mode 100644 index 0000000..a0f9d2f --- /dev/null +++ b/scene/char.tscn @@ -0,0 +1,16 @@ +[gd_scene format=3 uid="uid://cymwfwx7ncy1g"] + +[sub_resource type="CapsuleMesh" id="CapsuleMesh_w2xbp"] + +[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_i7ec8"] + +[node name="Char" type="CharacterBody3D" unique_id=1222318117] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1512273415] +mesh = SubResource("CapsuleMesh_w2xbp") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=735405303] +shape = SubResource("CapsuleShape3D_i7ec8") + +[node name="Camera3D" type="Camera3D" parent="." unique_id=1984742585] +transform = Transform3D(1, 0, 0, 0, 0.8994281, 0.43706867, 0, -0.43706867, 0.8994281, -0.28681415, 2.0960088, 2) diff --git a/scene/main.tscn b/scene/main.tscn new file mode 100644 index 0000000..dc8ca9d --- /dev/null +++ b/scene/main.tscn @@ -0,0 +1,25 @@ +[gd_scene format=3 uid="uid://2bx5m43kuw00"] + +[ext_resource type="PackedScene" uid="uid://cymwfwx7ncy1g" path="res://scene/char.tscn" id="1_itxqv"] + +[sub_resource type="BoxShape3D" id="BoxShape3D_no8bm"] +size = Vector3(15, 1, 15) + +[sub_resource type="BoxMesh" id="BoxMesh_itxqv"] +size = Vector3(10, 1.005, 10.04) + +[node name="Main" type="Node" unique_id=125764040] + +[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1132143718] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=2029854396] +shape = SubResource("BoxShape3D_no8bm") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" unique_id=372621333] +mesh = SubResource("BoxMesh_itxqv") + +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1088028715] +transform = Transform3D(1, 0, 0, 0, 0.61341715, 0.78975904, 0, -0.78975904, 0.61341715, -0.1050868, 3.0984688, -0.25241804) + +[node name="Char" parent="." unique_id=1222318117 instance=ExtResource("1_itxqv")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5639855, 0)