commit 42db203fca5ae76b7113c34c1eaacd76d64b84e0 Author: Evgenij Titarenko Date: Tue Aug 13 17:25:01 2024 +0300 Сцена игрока + начальная реализация перемещения 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..4709183 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Godot 4+ specific ignores +.godot/ diff --git a/.idea/.idea.chill-jam-10/.idea/.gitignore b/.idea/.idea.chill-jam-10/.idea/.gitignore new file mode 100644 index 0000000..5bf6bf2 --- /dev/null +++ b/.idea/.idea.chill-jam-10/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/contentModel.xml +/projectSettingsUpdater.xml +/.idea.chill-jam-10.iml +/modules.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.chill-jam-10/.idea/encodings.xml b/.idea/.idea.chill-jam-10/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.chill-jam-10/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.chill-jam-10/.idea/indexLayout.xml b/.idea/.idea.chill-jam-10/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.chill-jam-10/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.chill-jam-10/.idea/vcs.xml b/.idea/.idea.chill-jam-10/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.chill-jam-10/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/chill-jam-10.csproj b/chill-jam-10.csproj new file mode 100644 index 0000000..10bd672 --- /dev/null +++ b/chill-jam-10.csproj @@ -0,0 +1,9 @@ + + + net6.0 + net7.0 + net8.0 + true + chilljam10 + + \ No newline at end of file diff --git a/chill-jam-10.sln b/chill-jam-10.sln new file mode 100644 index 0000000..7234d49 --- /dev/null +++ b/chill-jam-10.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "chill-jam-10", "chill-jam-10.csproj", "{A56B1BCA-1E5C-44AE-8EE4-553F1829CAFD}" +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 + {A56B1BCA-1E5C-44AE-8EE4-553F1829CAFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A56B1BCA-1E5C-44AE-8EE4-553F1829CAFD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A56B1BCA-1E5C-44AE-8EE4-553F1829CAFD}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {A56B1BCA-1E5C-44AE-8EE4-553F1829CAFD}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {A56B1BCA-1E5C-44AE-8EE4-553F1829CAFD}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {A56B1BCA-1E5C-44AE-8EE4-553F1829CAFD}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..3fe4f4a --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..a733851 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b6gihcpkg73iv" +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 diff --git a/prefabs/Player.tscn b/prefabs/Player.tscn new file mode 100644 index 0000000..2846157 --- /dev/null +++ b/prefabs/Player.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=4 format=3 uid="uid://dfdsnwub212o6"] + +[ext_resource type="Script" path="res://scripts/Player.cs" id="1_68nsf"] +[ext_resource type="SpriteFrames" uid="uid://e8ybb7seykdx" path="res://resources/sprites/player/player.tres" id="1_be2ex"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_sed4o"] +size = Vector2(20, 29) + +[node name="Player" type="CharacterBody2D"] +script = ExtResource("1_68nsf") + +[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] +texture_filter = 1 +sprite_frames = ExtResource("1_be2ex") +frame_progress = 0.641559 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2(0, 0.5) +shape = SubResource("RectangleShape2D_sed4o") + +[node name="Camera2D" type="Camera2D" parent="."] diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..4c7de4f --- /dev/null +++ b/project.godot @@ -0,0 +1,53 @@ +; 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="chill-jam-10" +run/main_scene="res://scenes/test.tscn" +config/features=PackedStringArray("4.2", "C#", "GL Compatibility") +config/icon="res://icon.svg" + +[display] + +window/size/viewport_width=640 +window/size/viewport_height=480 +window/stretch/mode="viewport" + +[dotnet] + +project/assembly_name="chill-jam-10" + +[input] + +move_right={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null) +] +} +move_left={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null) +] +} +move_up={ +"deadzone": 0.5, +"events": [] +} +move_down={ +"deadzone": 0.5, +"events": [] +} + +[rendering] + +textures/canvas_textures/default_texture_filter=0 +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" diff --git a/resources/sprites/key.png b/resources/sprites/key.png new file mode 100644 index 0000000..067883d Binary files /dev/null and b/resources/sprites/key.png differ diff --git a/resources/sprites/key.png.import b/resources/sprites/key.png.import new file mode 100644 index 0000000..5fa3e53 --- /dev/null +++ b/resources/sprites/key.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bk3dqr0ujxjk8" +path="res://.godot/imported/key.png-8ea2688e42da5c44d3967fcccb7ef6b8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/key.png" +dest_files=["res://.godot/imported/key.png-8ea2688e42da5c44d3967fcccb7ef6b8.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 diff --git a/resources/sprites/key.tres b/resources/sprites/key.tres new file mode 100644 index 0000000..9d57b7f --- /dev/null +++ b/resources/sprites/key.tres @@ -0,0 +1,25 @@ +[gd_resource type="SpriteFrames" load_steps=4 format=3 uid="uid://bvnfvjn7am8tc"] + +[ext_resource type="Texture2D" uid="uid://bk3dqr0ujxjk8" path="res://resources/sprites/key.png" id="1_nefnl"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_mityh"] +atlas = ExtResource("1_nefnl") +region = Rect2(0, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_asbi3"] +atlas = ExtResource("1_nefnl") +region = Rect2(32, 0, 32, 32) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_mityh") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_asbi3") +}], +"loop": true, +"name": &"default", +"speed": 2.0 +}] diff --git a/resources/sprites/player/mc-walk-side.png b/resources/sprites/player/mc-walk-side.png new file mode 100644 index 0000000..c2e1189 Binary files /dev/null and b/resources/sprites/player/mc-walk-side.png differ diff --git a/resources/sprites/player/mc-walk-side.png.import b/resources/sprites/player/mc-walk-side.png.import new file mode 100644 index 0000000..acec1bd --- /dev/null +++ b/resources/sprites/player/mc-walk-side.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b3brymekuuwkh" +path="res://.godot/imported/mc-walk-side.png-a5332ee9ed87bd7d0e1a7707263121ef.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/player/mc-walk-side.png" +dest_files=["res://.godot/imported/mc-walk-side.png-a5332ee9ed87bd7d0e1a7707263121ef.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 diff --git a/resources/sprites/player/player.tres b/resources/sprites/player/player.tres new file mode 100644 index 0000000..b30e9ba --- /dev/null +++ b/resources/sprites/player/player.tres @@ -0,0 +1,58 @@ +[gd_resource type="SpriteFrames" load_steps=8 format=3 uid="uid://e8ybb7seykdx"] + +[ext_resource type="Texture2D" uid="uid://b3brymekuuwkh" path="res://resources/sprites/player/mc-walk-side.png" id="1_338ik"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_s7byu"] +atlas = ExtResource("1_338ik") +region = Rect2(0, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_654fl"] +atlas = ExtResource("1_338ik") +region = Rect2(32, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_tdjd0"] +atlas = ExtResource("1_338ik") +region = Rect2(64, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_xicac"] +atlas = ExtResource("1_338ik") +region = Rect2(96, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_b6h1b"] +atlas = ExtResource("1_338ik") +region = Rect2(128, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ukomw"] +atlas = ExtResource("1_338ik") +region = Rect2(0, 0, 32, 32) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_s7byu") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_654fl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_tdjd0") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_xicac") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_b6h1b") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_ukomw") +}], +"loop": true, +"name": &"walk", +"speed": 5.0 +}] diff --git a/resources/sprites/tiles/QoL.tres b/resources/sprites/tiles/QoL.tres new file mode 100644 index 0000000..0d36d1b --- /dev/null +++ b/resources/sprites/tiles/QoL.tres @@ -0,0 +1,139 @@ +[gd_resource type="TileSet" load_steps=10 format=3 uid="uid://pvri4kky8ok3"] + +[ext_resource type="Texture2D" uid="uid://br3o2fekkyynd" path="res://resources/sprites/tiles/frames/brd_atlas.png" id="1_r6rba"] +[ext_resource type="Texture2D" uid="uid://d32t4dsukrsq2" path="res://resources/sprites/tiles/floor/floor_atlas.png" id="2_h4pc5"] +[ext_resource type="Texture2D" uid="uid://btojcdxy6i2uc" path="res://resources/sprites/tiles/exits/exit1_atlas.png" id="3_tbs2i"] +[ext_resource type="Texture2D" uid="uid://1nx3r2uuxchq" path="res://resources/sprites/tiles/brickwall/brickwall_atlas.png" id="4_6kvvw"] + +[sub_resource type="TileMapPattern" id="TileMapPattern_po38u"] +tile_data = PackedInt32Array(0, 65550, 0, 65536, 65550, 1, 131072, 65550, 1, 196608, 65550, 1, 262144, 65550, 1, 327680, 65550, 1, 393216, 65550, 1, 458752, 65550, 1, 524288, 65550, 1, 589824, 65550, 1, 655360, 65550, 1, 720896, 262158, 0, 1, 14, 0, 65537, 17, 0, 131073, 17, 0, 196609, 17, 0, 720897, 327694, 0, 2, 14, 0, 65538, 17, 0, 131074, 17, 0, 196610, 17, 0, 720898, 327694, 0, 3, 14, 0, 65539, 17, 0, 131075, 17, 0, 196611, 17, 0, 720899, 327694, 0, 4, 14, 0, 65540, 17, 0, 131076, 17, 0, 196612, 17, 0, 720900, 327694, 0, 5, 14, 0, 65541, 17, 0, 131077, 17, 0, 196613, 17, 0, 720901, 327694, 0, 6, 14, 0, 65542, 17, 0, 131078, 17, 0, 196614, 17, 0, 720902, 327694, 0, 7, 14, 0, 65543, 17, 0, 131079, 17, 0, 196615, 17, 0, 720903, 327694, 0, 8, 14, 0, 65544, 17, 0, 131080, 17, 0, 196616, 17, 0, 720904, 327694, 0, 9, 14, 0, 65545, 17, 0, 131081, 17, 0, 196617, 17, 0, 720905, 327694, 0, 10, 131086, 0, 65546, 458766, 0, 131082, 458766, 0, 196618, 458766, 0, 262154, 458766, 0, 327690, 458766, 0, 393226, 458766, 0, 458762, 458766, 0, 524298, 458766, 0, 589834, 458766, 0, 655370, 458766, 0, 720906, 196622, 0) + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_rlgbh"] +texture = ExtResource("1_r6rba") +texture_region_size = Vector2i(32, 32) +0:0/0 = 0 +0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:0/0/physics_layer_0/angular_velocity = 0.0 +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:0/0 = 0 +1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +2:0/0 = 0 +2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:0/0/physics_layer_0/angular_velocity = 0.0 +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +3:0/0 = 0 +3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:0/0/physics_layer_0/angular_velocity = 0.0 +3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +4:0/0 = 0 +4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:0/0/physics_layer_0/angular_velocity = 0.0 +4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +5:0/0 = 0 +5:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:0/0/physics_layer_0/angular_velocity = 0.0 +5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +6:0/0 = 0 +6:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:0/0/physics_layer_0/angular_velocity = 0.0 +6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +7:0/0 = 0 +7:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:0/0/physics_layer_0/angular_velocity = 0.0 +7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +0:1/0 = 0 +0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:1/0/physics_layer_0/angular_velocity = 0.0 +0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:1/0 = 0 +1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:1/0/physics_layer_0/angular_velocity = 0.0 +1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +2:1/0 = 0 +2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:1/0/physics_layer_0/angular_velocity = 0.0 +2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +3:1/0 = 0 +3:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:1/0/physics_layer_0/angular_velocity = 0.0 +3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +4:1/0 = 0 +4:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:1/0/physics_layer_0/angular_velocity = 0.0 +4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +5:1/0 = 0 +5:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:1/0/physics_layer_0/angular_velocity = 0.0 +5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +6:1/0 = 0 +6:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:1/0/physics_layer_0/angular_velocity = 0.0 +6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +7:1/0 = 0 +7:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:1/0/physics_layer_0/angular_velocity = 0.0 +7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_p8m8a"] +texture = ExtResource("2_h4pc5") +texture_region_size = Vector2i(32, 32) +0:0/0 = 0 +0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0 = 0 +1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/0/physics_layer_0/angular_velocity = 0.0 +2:0/0 = 0 +2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:0/0/physics_layer_0/angular_velocity = 0.0 + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_8dpje"] +texture = ExtResource("3_tbs2i") +texture_region_size = Vector2i(32, 32) +0:0/0 = 0 +0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:0/0/physics_layer_0/angular_velocity = 0.0 +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -9, 16, -9.25, 16, 16, -16, 16) +1:0/0 = 0 +1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-9.375, -16, 16, -16, 16, 16, -9.125, 16) +2:0/0 = 0 +2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:0/0/physics_layer_0/angular_velocity = 0.0 +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 8.875, -16, 9.375, 16, -16, 16) + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_ugfmg"] +texture = ExtResource("4_6kvvw") +texture_region_size = Vector2i(32, 32) +0:0/0 = 0 +0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:0/0/physics_layer_0/angular_velocity = 0.0 +0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +1:0/0 = 0 +1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +2:0/0 = 0 +2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:0/0/physics_layer_0/angular_velocity = 0.0 +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +3:0/0 = 0 +3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:0/0/physics_layer_0/angular_velocity = 0.0 +3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) +4:0/0 = 0 +4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:0/0/physics_layer_0/angular_velocity = 0.0 +4:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16) + +[resource] +tile_size = Vector2i(32, 32) +physics_layer_0/collision_layer = 1 +sources/14 = SubResource("TileSetAtlasSource_rlgbh") +sources/15 = SubResource("TileSetAtlasSource_p8m8a") +sources/16 = SubResource("TileSetAtlasSource_8dpje") +sources/17 = SubResource("TileSetAtlasSource_ugfmg") +pattern_0 = SubResource("TileMapPattern_po38u") diff --git a/resources/sprites/tiles/brickwall/brickwall-door.png b/resources/sprites/tiles/brickwall/brickwall-door.png new file mode 100644 index 0000000..8bcf608 Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall-door.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall-door.png.import b/resources/sprites/tiles/brickwall/brickwall-door.png.import new file mode 100644 index 0000000..6f16d81 --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall-door.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ddadd2iw4enxm" +path="res://.godot/imported/brickwall-door.png-206c108e4dc18ca97c8a326b78d4a5eb.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall-door.png" +dest_files=["res://.godot/imported/brickwall-door.png-206c108e4dc18ca97c8a326b78d4a5eb.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 diff --git a/resources/sprites/tiles/brickwall/brickwall-up.png b/resources/sprites/tiles/brickwall/brickwall-up.png new file mode 100644 index 0000000..3c83228 Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall-up.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall-up.png.import b/resources/sprites/tiles/brickwall/brickwall-up.png.import new file mode 100644 index 0000000..f148e28 --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall-up.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dah56yqdthi28" +path="res://.godot/imported/brickwall-up.png-81fdca84a5db11924493f8a8cd57fa7d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall-up.png" +dest_files=["res://.godot/imported/brickwall-up.png-81fdca84a5db11924493f8a8cd57fa7d.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 diff --git a/resources/sprites/tiles/brickwall/brickwall.png b/resources/sprites/tiles/brickwall/brickwall.png new file mode 100644 index 0000000..795a73f Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall.png.import b/resources/sprites/tiles/brickwall/brickwall.png.import new file mode 100644 index 0000000..60934ea --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://da0n8p1k0g02q" +path="res://.godot/imported/brickwall.png-62a44d1208ef54fd4bf4424c0d149e4b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall.png" +dest_files=["res://.godot/imported/brickwall.png-62a44d1208ef54fd4bf4424c0d149e4b.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 diff --git a/resources/sprites/tiles/brickwall/brickwall_atlas.png b/resources/sprites/tiles/brickwall/brickwall_atlas.png new file mode 100644 index 0000000..f38154b Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall_atlas.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall_atlas.png.import b/resources/sprites/tiles/brickwall/brickwall_atlas.png.import new file mode 100644 index 0000000..a30548d --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall_atlas.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://1nx3r2uuxchq" +path="res://.godot/imported/brickwall_atlas.png-db8a6d77d69c3874420c0d9a7c62558a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall_atlas.png" +dest_files=["res://.godot/imported/brickwall_atlas.png-db8a6d77d69c3874420c0d9a7c62558a.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 diff --git a/resources/sprites/tiles/brickwall/brickwall_corner_left.png b/resources/sprites/tiles/brickwall/brickwall_corner_left.png new file mode 100644 index 0000000..62cd713 Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall_corner_left.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall_corner_left.png.import b/resources/sprites/tiles/brickwall/brickwall_corner_left.png.import new file mode 100644 index 0000000..f4b55b5 --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall_corner_left.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bduus14r6flbk" +path="res://.godot/imported/brickwall_corner_left.png-519b49ec1b45156c6c4a6e5a647965a6.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall_corner_left.png" +dest_files=["res://.godot/imported/brickwall_corner_left.png-519b49ec1b45156c6c4a6e5a647965a6.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 diff --git a/resources/sprites/tiles/brickwall/brickwall_corner_right.png b/resources/sprites/tiles/brickwall/brickwall_corner_right.png new file mode 100644 index 0000000..5501b9f Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall_corner_right.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall_corner_right.png.import b/resources/sprites/tiles/brickwall/brickwall_corner_right.png.import new file mode 100644 index 0000000..bc5d0c7 --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall_corner_right.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b3snbow3oh76n" +path="res://.godot/imported/brickwall_corner_right.png-1b0ef270c61ad76c67c951e676575f63.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall_corner_right.png" +dest_files=["res://.godot/imported/brickwall_corner_right.png-1b0ef270c61ad76c67c951e676575f63.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 diff --git a/resources/sprites/tiles/brickwall/brickwall_up_corner.png b/resources/sprites/tiles/brickwall/brickwall_up_corner.png new file mode 100644 index 0000000..d44a80a Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall_up_corner.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall_up_corner.png.import b/resources/sprites/tiles/brickwall/brickwall_up_corner.png.import new file mode 100644 index 0000000..27fddae --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall_up_corner.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cqjxex4pot0v8" +path="res://.godot/imported/brickwall_up_corner.png-48101551a6bd4aef2deea94390435887.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall_up_corner.png" +dest_files=["res://.godot/imported/brickwall_up_corner.png-48101551a6bd4aef2deea94390435887.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 diff --git a/resources/sprites/tiles/brickwall/brickwall_up_corner_2.png b/resources/sprites/tiles/brickwall/brickwall_up_corner_2.png new file mode 100644 index 0000000..0f4d5c0 Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall_up_corner_2.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall_up_corner_2.png.import b/resources/sprites/tiles/brickwall/brickwall_up_corner_2.png.import new file mode 100644 index 0000000..ae2f64a --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall_up_corner_2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ny8xwxuyuu5r" +path="res://.godot/imported/brickwall_up_corner_2.png-204810bbf4fe874c407c2911f7b93575.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall_up_corner_2.png" +dest_files=["res://.godot/imported/brickwall_up_corner_2.png-204810bbf4fe874c407c2911f7b93575.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 diff --git a/resources/sprites/tiles/brickwall/brickwall_up_u.png b/resources/sprites/tiles/brickwall/brickwall_up_u.png new file mode 100644 index 0000000..efbf070 Binary files /dev/null and b/resources/sprites/tiles/brickwall/brickwall_up_u.png differ diff --git a/resources/sprites/tiles/brickwall/brickwall_up_u.png.import b/resources/sprites/tiles/brickwall/brickwall_up_u.png.import new file mode 100644 index 0000000..9379910 --- /dev/null +++ b/resources/sprites/tiles/brickwall/brickwall_up_u.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://fl02eqhchnnv" +path="res://.godot/imported/brickwall_up_u.png-48237ce55616f5cc821f6da559206f8b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/brickwall_up_u.png" +dest_files=["res://.godot/imported/brickwall_up_u.png-48237ce55616f5cc821f6da559206f8b.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 diff --git a/resources/sprites/tiles/brickwall/exit1_atlas.png b/resources/sprites/tiles/brickwall/exit1_atlas.png new file mode 100644 index 0000000..70c1df0 Binary files /dev/null and b/resources/sprites/tiles/brickwall/exit1_atlas.png differ diff --git a/resources/sprites/tiles/brickwall/exit1_atlas.png.import b/resources/sprites/tiles/brickwall/exit1_atlas.png.import new file mode 100644 index 0000000..4ff0613 --- /dev/null +++ b/resources/sprites/tiles/brickwall/exit1_atlas.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://j65ff4rq7i1f" +path="res://.godot/imported/exit1_atlas.png-a1bac27f2e7fbc2b9ba1b0d2e45809f7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/brickwall/exit1_atlas.png" +dest_files=["res://.godot/imported/exit1_atlas.png-a1bac27f2e7fbc2b9ba1b0d2e45809f7.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 diff --git a/resources/sprites/tiles/exits/exit1.png b/resources/sprites/tiles/exits/exit1.png new file mode 100644 index 0000000..05e8815 Binary files /dev/null and b/resources/sprites/tiles/exits/exit1.png differ diff --git a/resources/sprites/tiles/exits/exit1.png.import b/resources/sprites/tiles/exits/exit1.png.import new file mode 100644 index 0000000..9fde19c --- /dev/null +++ b/resources/sprites/tiles/exits/exit1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bvt6inoj3wv8a" +path="res://.godot/imported/exit1.png-1cb11b16fe5f377fdc643c34e70c4051.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/exits/exit1.png" +dest_files=["res://.godot/imported/exit1.png-1cb11b16fe5f377fdc643c34e70c4051.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 diff --git a/resources/sprites/tiles/exits/exit1_atlas.png b/resources/sprites/tiles/exits/exit1_atlas.png new file mode 100644 index 0000000..70c1df0 Binary files /dev/null and b/resources/sprites/tiles/exits/exit1_atlas.png differ diff --git a/resources/sprites/tiles/exits/exit1_atlas.png.import b/resources/sprites/tiles/exits/exit1_atlas.png.import new file mode 100644 index 0000000..078180d --- /dev/null +++ b/resources/sprites/tiles/exits/exit1_atlas.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btojcdxy6i2uc" +path="res://.godot/imported/exit1_atlas.png-ed1c3239fa5798bd007b4a11563cfdb5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/exits/exit1_atlas.png" +dest_files=["res://.godot/imported/exit1_atlas.png-ed1c3239fa5798bd007b4a11563cfdb5.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 diff --git a/resources/sprites/tiles/exits/exit2.png b/resources/sprites/tiles/exits/exit2.png new file mode 100644 index 0000000..bb9090b Binary files /dev/null and b/resources/sprites/tiles/exits/exit2.png differ diff --git a/resources/sprites/tiles/exits/exit2.png.import b/resources/sprites/tiles/exits/exit2.png.import new file mode 100644 index 0000000..95618ab --- /dev/null +++ b/resources/sprites/tiles/exits/exit2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d1yfug8m3wg7u" +path="res://.godot/imported/exit2.png-729857253024df6acac113f86c955f34.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/exits/exit2.png" +dest_files=["res://.godot/imported/exit2.png-729857253024df6acac113f86c955f34.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 diff --git a/resources/sprites/tiles/exits/exit3.png b/resources/sprites/tiles/exits/exit3.png new file mode 100644 index 0000000..85ea764 Binary files /dev/null and b/resources/sprites/tiles/exits/exit3.png differ diff --git a/resources/sprites/tiles/exits/exit3.png.import b/resources/sprites/tiles/exits/exit3.png.import new file mode 100644 index 0000000..26865b2 --- /dev/null +++ b/resources/sprites/tiles/exits/exit3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://kywqvr3xn2ys" +path="res://.godot/imported/exit3.png-a33f19f7b4bc362f8a6d52fd9efc3d97.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/exits/exit3.png" +dest_files=["res://.godot/imported/exit3.png-a33f19f7b4bc362f8a6d52fd9efc3d97.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 diff --git a/resources/sprites/tiles/floor/floor1.png b/resources/sprites/tiles/floor/floor1.png new file mode 100644 index 0000000..1dc373c Binary files /dev/null and b/resources/sprites/tiles/floor/floor1.png differ diff --git a/resources/sprites/tiles/floor/floor1.png.import b/resources/sprites/tiles/floor/floor1.png.import new file mode 100644 index 0000000..f9ebc35 --- /dev/null +++ b/resources/sprites/tiles/floor/floor1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btlymvppf60k4" +path="res://.godot/imported/floor1.png-3d5aeab6fda1a14884b372a21cee1edd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/floor1.png" +dest_files=["res://.godot/imported/floor1.png-3d5aeab6fda1a14884b372a21cee1edd.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 diff --git a/resources/sprites/tiles/floor/floor_atlas.png b/resources/sprites/tiles/floor/floor_atlas.png new file mode 100644 index 0000000..d50096b Binary files /dev/null and b/resources/sprites/tiles/floor/floor_atlas.png differ diff --git a/resources/sprites/tiles/floor/floor_atlas.png.import b/resources/sprites/tiles/floor/floor_atlas.png.import new file mode 100644 index 0000000..2005ed9 --- /dev/null +++ b/resources/sprites/tiles/floor/floor_atlas.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d32t4dsukrsq2" +path="res://.godot/imported/floor_atlas.png-533b62fbab1739a7634aec0a69b1b5a1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/floor_atlas.png" +dest_files=["res://.godot/imported/floor_atlas.png-533b62fbab1739a7634aec0a69b1b5a1.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 diff --git a/resources/sprites/tiles/floor/pebble.png b/resources/sprites/tiles/floor/pebble.png new file mode 100644 index 0000000..346fce0 Binary files /dev/null and b/resources/sprites/tiles/floor/pebble.png differ diff --git a/resources/sprites/tiles/floor/pebble.png.import b/resources/sprites/tiles/floor/pebble.png.import new file mode 100644 index 0000000..3d5e302 --- /dev/null +++ b/resources/sprites/tiles/floor/pebble.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rmxlq53gfxo3" +path="res://.godot/imported/pebble.png-3d9d34483eeec474cc0e3b5c7dbf6175.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/pebble.png" +dest_files=["res://.godot/imported/pebble.png-3d9d34483eeec474cc0e3b5c7dbf6175.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 diff --git a/resources/sprites/tiles/floor/pressure_plate.png b/resources/sprites/tiles/floor/pressure_plate.png new file mode 100644 index 0000000..d466d6b Binary files /dev/null and b/resources/sprites/tiles/floor/pressure_plate.png differ diff --git a/resources/sprites/tiles/floor/pressure_plate.png.import b/resources/sprites/tiles/floor/pressure_plate.png.import new file mode 100644 index 0000000..c9bf947 --- /dev/null +++ b/resources/sprites/tiles/floor/pressure_plate.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://duv3fbjw53vtw" +path="res://.godot/imported/pressure_plate.png-a2c8e06cf79a91c76eede3f2b2ff2d32.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/pressure_plate.png" +dest_files=["res://.godot/imported/pressure_plate.png-a2c8e06cf79a91c76eede3f2b2ff2d32.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 diff --git a/resources/sprites/tiles/floor/pressure_plate.tres b/resources/sprites/tiles/floor/pressure_plate.tres new file mode 100644 index 0000000..a04d072 --- /dev/null +++ b/resources/sprites/tiles/floor/pressure_plate.tres @@ -0,0 +1,30 @@ +[gd_resource type="SpriteFrames" load_steps=4 format=3 uid="uid://8qygv4lq4pjf"] + +[ext_resource type="Texture2D" uid="uid://duv3fbjw53vtw" path="res://sprites/tiles/floor/pressure_plate.png" id="1_j71no"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_aqux7"] +atlas = ExtResource("1_j71no") +region = Rect2(0, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_vlwdt"] +atlas = ExtResource("1_j71no") +region = Rect2(32, 0, 32, 32) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_aqux7") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_vlwdt") +}], +"loop": true, +"name": &"pressed", +"speed": 5.0 +}] diff --git a/resources/sprites/tiles/floor/spikes/spikes.tres b/resources/sprites/tiles/floor/spikes/spikes.tres new file mode 100644 index 0000000..d417279 --- /dev/null +++ b/resources/sprites/tiles/floor/spikes/spikes.tres @@ -0,0 +1,37 @@ +[gd_resource type="SpriteFrames" load_steps=5 format=3 uid="uid://uith5rxps4s"] + +[ext_resource type="Texture2D" uid="uid://l3v1hs32uxfp" path="res://sprites/tiles/floor/spikes/spikes_0001-sheet.png" id="1_xhodh"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_my1hb"] +atlas = ExtResource("1_xhodh") +region = Rect2(32, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_nfdn1"] +atlas = ExtResource("1_xhodh") +region = Rect2(0, 0, 32, 32) + +[sub_resource type="AtlasTexture" id="AtlasTexture_qhlyu"] +atlas = ExtResource("1_xhodh") +region = Rect2(64, 0, 32, 32) + +[resource] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_my1hb") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_nfdn1") +}], +"loop": false, +"name": &"activated", +"speed": 2.0 +}, { +"frames": [{ +"duration": 1.0, +"texture": SubResource("AtlasTexture_qhlyu") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] diff --git a/resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png b/resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png new file mode 100644 index 0000000..36354b9 Binary files /dev/null and b/resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png differ diff --git a/resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png.import b/resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png.import new file mode 100644 index 0000000..b11df0e --- /dev/null +++ b/resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://l3v1hs32uxfp" +path="res://.godot/imported/spikes_0001-sheet.png-b398d353cf2bc01f666143f11416947c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/spikes/spikes_0001-sheet.png" +dest_files=["res://.godot/imported/spikes_0001-sheet.png-b398d353cf2bc01f666143f11416947c.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 diff --git a/resources/sprites/tiles/floor/spikes/spikes_0001.png b/resources/sprites/tiles/floor/spikes/spikes_0001.png new file mode 100644 index 0000000..5a83f5f Binary files /dev/null and b/resources/sprites/tiles/floor/spikes/spikes_0001.png differ diff --git a/resources/sprites/tiles/floor/spikes/spikes_0001.png.import b/resources/sprites/tiles/floor/spikes/spikes_0001.png.import new file mode 100644 index 0000000..8447b34 --- /dev/null +++ b/resources/sprites/tiles/floor/spikes/spikes_0001.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bn68pj3dryfsr" +path="res://.godot/imported/spikes_0001.png-d19b1dff3bed18965d6e3e0d5c1db89b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/spikes/spikes_0001.png" +dest_files=["res://.godot/imported/spikes_0001.png-d19b1dff3bed18965d6e3e0d5c1db89b.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 diff --git a/resources/sprites/tiles/floor/spikes/spikes_0002.png b/resources/sprites/tiles/floor/spikes/spikes_0002.png new file mode 100644 index 0000000..fa1c4d2 Binary files /dev/null and b/resources/sprites/tiles/floor/spikes/spikes_0002.png differ diff --git a/resources/sprites/tiles/floor/spikes/spikes_0002.png.import b/resources/sprites/tiles/floor/spikes/spikes_0002.png.import new file mode 100644 index 0000000..f1633c8 --- /dev/null +++ b/resources/sprites/tiles/floor/spikes/spikes_0002.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ca2htopke8mdk" +path="res://.godot/imported/spikes_0002.png-0d6c1e86b655320c066ea01e4360e981.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/spikes/spikes_0002.png" +dest_files=["res://.godot/imported/spikes_0002.png-0d6c1e86b655320c066ea01e4360e981.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 diff --git a/resources/sprites/tiles/floor/spikes/spikes_0003.png b/resources/sprites/tiles/floor/spikes/spikes_0003.png new file mode 100644 index 0000000..1f83bbd Binary files /dev/null and b/resources/sprites/tiles/floor/spikes/spikes_0003.png differ diff --git a/resources/sprites/tiles/floor/spikes/spikes_0003.png.import b/resources/sprites/tiles/floor/spikes/spikes_0003.png.import new file mode 100644 index 0000000..e34e338 --- /dev/null +++ b/resources/sprites/tiles/floor/spikes/spikes_0003.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xu6mpqbo14if" +path="res://.godot/imported/spikes_0003.png-6ed5877fae309fea4eb4f2d08c201dd4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/spikes/spikes_0003.png" +dest_files=["res://.godot/imported/spikes_0003.png-6ed5877fae309fea4eb4f2d08c201dd4.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 diff --git a/resources/sprites/tiles/floor/tiles.png b/resources/sprites/tiles/floor/tiles.png new file mode 100644 index 0000000..ff87b3a Binary files /dev/null and b/resources/sprites/tiles/floor/tiles.png differ diff --git a/resources/sprites/tiles/floor/tiles.png.import b/resources/sprites/tiles/floor/tiles.png.import new file mode 100644 index 0000000..f368944 --- /dev/null +++ b/resources/sprites/tiles/floor/tiles.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://5cewoitoxscd" +path="res://.godot/imported/tiles.png-41b267a76d570408993003ff82d07661.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/floor/tiles.png" +dest_files=["res://.godot/imported/tiles.png-41b267a76d570408993003ff82d07661.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 diff --git a/resources/sprites/tiles/frames/brd_atlas.png b/resources/sprites/tiles/frames/brd_atlas.png new file mode 100644 index 0000000..d1f3ecc Binary files /dev/null and b/resources/sprites/tiles/frames/brd_atlas.png differ diff --git a/resources/sprites/tiles/frames/brd_atlas.png.import b/resources/sprites/tiles/frames/brd_atlas.png.import new file mode 100644 index 0000000..e2b52ac --- /dev/null +++ b/resources/sprites/tiles/frames/brd_atlas.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://br3o2fekkyynd" +path="res://.godot/imported/brd_atlas.png-c6c369dd03baacd0c9a4a0a49e44d403.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/brd_atlas.png" +dest_files=["res://.godot/imported/brd_atlas.png-c6c369dd03baacd0c9a4a0a49e44d403.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 diff --git a/resources/sprites/tiles/frames/brd_hor.png b/resources/sprites/tiles/frames/brd_hor.png new file mode 100644 index 0000000..0c02f1a Binary files /dev/null and b/resources/sprites/tiles/frames/brd_hor.png differ diff --git a/resources/sprites/tiles/frames/brd_hor.png.import b/resources/sprites/tiles/frames/brd_hor.png.import new file mode 100644 index 0000000..cb4e4ec --- /dev/null +++ b/resources/sprites/tiles/frames/brd_hor.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c03qtpslay1qj" +path="res://.godot/imported/brd_hor.png-75144e49d6c31aee698ec0ff21f51356.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/brd_hor.png" +dest_files=["res://.godot/imported/brd_hor.png-75144e49d6c31aee698ec0ff21f51356.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 diff --git a/resources/sprites/tiles/frames/corner_up.png b/resources/sprites/tiles/frames/corner_up.png new file mode 100644 index 0000000..f41b26f Binary files /dev/null and b/resources/sprites/tiles/frames/corner_up.png differ diff --git a/resources/sprites/tiles/frames/corner_up.png.import b/resources/sprites/tiles/frames/corner_up.png.import new file mode 100644 index 0000000..4d3b74b --- /dev/null +++ b/resources/sprites/tiles/frames/corner_up.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dxv0oqw7u7cxx" +path="res://.godot/imported/corner_up.png-048503bb205c989d5982e99d1686184e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/corner_up.png" +dest_files=["res://.godot/imported/corner_up.png-048503bb205c989d5982e99d1686184e.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 diff --git a/resources/sprites/tiles/frames/corner_up1.png b/resources/sprites/tiles/frames/corner_up1.png new file mode 100644 index 0000000..5531f3b Binary files /dev/null and b/resources/sprites/tiles/frames/corner_up1.png differ diff --git a/resources/sprites/tiles/frames/corner_up1.png.import b/resources/sprites/tiles/frames/corner_up1.png.import new file mode 100644 index 0000000..8507962 --- /dev/null +++ b/resources/sprites/tiles/frames/corner_up1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8w2kp7uxcfsx" +path="res://.godot/imported/corner_up1.png-df6094899a7434d05387899bfb71575c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/corner_up1.png" +dest_files=["res://.godot/imported/corner_up1.png-df6094899a7434d05387899bfb71575c.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 diff --git a/resources/sprites/tiles/frames/corner_up2.png b/resources/sprites/tiles/frames/corner_up2.png new file mode 100644 index 0000000..9c1e697 Binary files /dev/null and b/resources/sprites/tiles/frames/corner_up2.png differ diff --git a/resources/sprites/tiles/frames/corner_up2.png.import b/resources/sprites/tiles/frames/corner_up2.png.import new file mode 100644 index 0000000..805e57f --- /dev/null +++ b/resources/sprites/tiles/frames/corner_up2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://w4ltjwnpkiw2" +path="res://.godot/imported/corner_up2.png-e6715616beb57e133997f00f0d2552d0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/corner_up2.png" +dest_files=["res://.godot/imported/corner_up2.png-e6715616beb57e133997f00f0d2552d0.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 diff --git a/resources/sprites/tiles/frames/corner_up3.png b/resources/sprites/tiles/frames/corner_up3.png new file mode 100644 index 0000000..fdad79e Binary files /dev/null and b/resources/sprites/tiles/frames/corner_up3.png differ diff --git a/resources/sprites/tiles/frames/corner_up3.png.import b/resources/sprites/tiles/frames/corner_up3.png.import new file mode 100644 index 0000000..a62bafe --- /dev/null +++ b/resources/sprites/tiles/frames/corner_up3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bqivh8vu4m3rs" +path="res://.godot/imported/corner_up3.png-fcea839d15972ae15ebcb310789e0f9c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/corner_up3.png" +dest_files=["res://.godot/imported/corner_up3.png-fcea839d15972ae15ebcb310789e0f9c.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 diff --git a/resources/sprites/tiles/frames/wall_hor.png b/resources/sprites/tiles/frames/wall_hor.png new file mode 100644 index 0000000..f110bf9 Binary files /dev/null and b/resources/sprites/tiles/frames/wall_hor.png differ diff --git a/resources/sprites/tiles/frames/wall_hor.png.import b/resources/sprites/tiles/frames/wall_hor.png.import new file mode 100644 index 0000000..cd93622 --- /dev/null +++ b/resources/sprites/tiles/frames/wall_hor.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bifdbxxvms0ml" +path="res://.godot/imported/wall_hor.png-69f4e5aa3ad3247b40a7f85aada5e947.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/wall_hor.png" +dest_files=["res://.godot/imported/wall_hor.png-69f4e5aa3ad3247b40a7f85aada5e947.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 diff --git a/resources/sprites/tiles/frames/wall_vert.png b/resources/sprites/tiles/frames/wall_vert.png new file mode 100644 index 0000000..30fdf56 Binary files /dev/null and b/resources/sprites/tiles/frames/wall_vert.png differ diff --git a/resources/sprites/tiles/frames/wall_vert.png.import b/resources/sprites/tiles/frames/wall_vert.png.import new file mode 100644 index 0000000..b672497 --- /dev/null +++ b/resources/sprites/tiles/frames/wall_vert.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c633sp7jogr7q" +path="res://.godot/imported/wall_vert.png-ece7a96733c67c5cffee41ae53f5066a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/wall_vert.png" +dest_files=["res://.godot/imported/wall_vert.png-ece7a96733c67c5cffee41ae53f5066a.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 diff --git a/resources/sprites/tiles/frames/wall_vert_left.png b/resources/sprites/tiles/frames/wall_vert_left.png new file mode 100644 index 0000000..f4c1e70 Binary files /dev/null and b/resources/sprites/tiles/frames/wall_vert_left.png differ diff --git a/resources/sprites/tiles/frames/wall_vert_left.png.import b/resources/sprites/tiles/frames/wall_vert_left.png.import new file mode 100644 index 0000000..bd1a749 --- /dev/null +++ b/resources/sprites/tiles/frames/wall_vert_left.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d0g5o05ae54n3" +path="res://.godot/imported/wall_vert_left.png-2e0e36af1d13c4310f46ad45f4864d8d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/wall_vert_left.png" +dest_files=["res://.godot/imported/wall_vert_left.png-2e0e36af1d13c4310f46ad45f4864d8d.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 diff --git a/resources/sprites/tiles/frames/wall_vert_left_corn.png b/resources/sprites/tiles/frames/wall_vert_left_corn.png new file mode 100644 index 0000000..a53d1d4 Binary files /dev/null and b/resources/sprites/tiles/frames/wall_vert_left_corn.png differ diff --git a/resources/sprites/tiles/frames/wall_vert_left_corn.png.import b/resources/sprites/tiles/frames/wall_vert_left_corn.png.import new file mode 100644 index 0000000..a81510c --- /dev/null +++ b/resources/sprites/tiles/frames/wall_vert_left_corn.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dlxy3sx1p8anf" +path="res://.godot/imported/wall_vert_left_corn.png-9243319d1f755730b15e120e9a2a35d1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/wall_vert_left_corn.png" +dest_files=["res://.godot/imported/wall_vert_left_corn.png-9243319d1f755730b15e120e9a2a35d1.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 diff --git a/resources/sprites/tiles/frames/wall_vert_right.png b/resources/sprites/tiles/frames/wall_vert_right.png new file mode 100644 index 0000000..66309fb Binary files /dev/null and b/resources/sprites/tiles/frames/wall_vert_right.png differ diff --git a/resources/sprites/tiles/frames/wall_vert_right.png.import b/resources/sprites/tiles/frames/wall_vert_right.png.import new file mode 100644 index 0000000..87f4ecd --- /dev/null +++ b/resources/sprites/tiles/frames/wall_vert_right.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dw424ct8xy7xd" +path="res://.godot/imported/wall_vert_right.png-e3a3109e6a6d5048741497936a1f6f8e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/wall_vert_right.png" +dest_files=["res://.godot/imported/wall_vert_right.png-e3a3109e6a6d5048741497936a1f6f8e.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 diff --git a/resources/sprites/tiles/frames/wall_vert_right_corn.png b/resources/sprites/tiles/frames/wall_vert_right_corn.png new file mode 100644 index 0000000..9467c48 Binary files /dev/null and b/resources/sprites/tiles/frames/wall_vert_right_corn.png differ diff --git a/resources/sprites/tiles/frames/wall_vert_right_corn.png.import b/resources/sprites/tiles/frames/wall_vert_right_corn.png.import new file mode 100644 index 0000000..09dec0b --- /dev/null +++ b/resources/sprites/tiles/frames/wall_vert_right_corn.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bd1wykume8n48" +path="res://.godot/imported/wall_vert_right_corn.png-9662488992e6fb5fc2c920189e6dfc7a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/wall_vert_right_corn.png" +dest_files=["res://.godot/imported/wall_vert_right_corn.png-9662488992e6fb5fc2c920189e6dfc7a.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 diff --git a/resources/sprites/tiles/frames/wall_vert_u.png b/resources/sprites/tiles/frames/wall_vert_u.png new file mode 100644 index 0000000..358a2fa Binary files /dev/null and b/resources/sprites/tiles/frames/wall_vert_u.png differ diff --git a/resources/sprites/tiles/frames/wall_vert_u.png.import b/resources/sprites/tiles/frames/wall_vert_u.png.import new file mode 100644 index 0000000..09eb279 --- /dev/null +++ b/resources/sprites/tiles/frames/wall_vert_u.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://befvk66pt8lsm" +path="res://.godot/imported/wall_vert_u.png-aff78772d1f7efbbe3111b841c6d1120.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://resources/sprites/tiles/frames/wall_vert_u.png" +dest_files=["res://.godot/imported/wall_vert_u.png-aff78772d1f7efbbe3111b841c6d1120.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 diff --git a/scenes/test.tscn b/scenes/test.tscn new file mode 100644 index 0000000..7a034c9 --- /dev/null +++ b/scenes/test.tscn @@ -0,0 +1,15 @@ +[gd_scene load_steps=3 format=3 uid="uid://dwii5fob7qy7c"] + +[ext_resource type="TileSet" uid="uid://pvri4kky8ok3" path="res://resources/sprites/tiles/QoL.tres" id="1_np3m5"] +[ext_resource type="PackedScene" uid="uid://dfdsnwub212o6" path="res://prefabs/Player.tscn" id="2_mmd6a"] + +[node name="Test" type="Node2D"] + +[node name="TileMap" type="TileMap" parent="."] +texture_filter = 1 +tile_set = ExtResource("1_np3m5") +format = 2 +layer_0/tile_data = PackedInt32Array(0, 17, 0, 1, 17, 0, 65535, 17, 0, 2, 17, 0, 65534, 17, 0, 4, 17, 0, 3, 17, 0, 65533, 17, 0, 65532, 17, 0, -131065, 17, 0, -65529, 17, 0, 7, 17, 0, 6, 17, 0, 5, 17, 0, 65530, 17, 0, 65531, 17, 0, -6, 17, 0, -65542, 17, 0) + +[node name="Player" parent="." instance=ExtResource("2_mmd6a")] +position = Vector2(10, -15) diff --git a/scripts/Player.cs b/scripts/Player.cs new file mode 100644 index 0000000..42f60ef --- /dev/null +++ b/scripts/Player.cs @@ -0,0 +1,45 @@ +using Godot; +using System; + +public partial class Player : CharacterBody2D +{ + [Export] public const float Speed = 300.0f; + + // Get the gravity from the project settings to be synced with RigidBody nodes. + public float Gravity = ProjectSettings.GetSetting("physics/2d/default_gravity").AsSingle(); + + protected AnimatedSprite2D Sprite; + + public override void _Ready() + { + Sprite = (AnimatedSprite2D)FindChild("AnimatedSprite2D"); + } + + public override void _PhysicsProcess(double delta) + { + Vector2 velocity = Velocity; + + // Get the input direction and handle the movement/deceleration. + // As good practice, you should replace UI actions with custom gameplay actions. + Vector2 direction = Input.GetVector("move_left", "move_right", "move_up", "move_down"); + if (direction != Vector2.Zero) + { + velocity.X = direction.X * Speed; + Sprite.Play("walk"); + Sprite.FlipH = direction.X switch + { + > 0 => false, + < 0 => true, + _ => Sprite.FlipH + }; + } + else + { + velocity.X = Mathf.MoveToward(Velocity.X, 0, Speed); + Sprite.Play("default"); + } + + Velocity = velocity; + MoveAndSlide(); + } +}