diff --git a/assets/graphics/backgrounds/25-11-12-procedural-explosion.png b/assets/graphics/backgrounds/25-11-12-procedural-explosion.png new file mode 100644 index 0000000..7da493a Binary files /dev/null and b/assets/graphics/backgrounds/25-11-12-procedural-explosion.png differ diff --git a/assets/graphics/backgrounds/25-11-12-procedural-explosion.png.import b/assets/graphics/backgrounds/25-11-12-procedural-explosion.png.import new file mode 100644 index 0000000..b52fa39 --- /dev/null +++ b/assets/graphics/backgrounds/25-11-12-procedural-explosion.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dj6melug42fpq" +path="res://.godot/imported/25-11-12-procedural-explosion.png-4ce7904e6dcb9961c205e0cc508612b7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/backgrounds/25-11-12-procedural-explosion.png" +dest_files=["res://.godot/imported/25-11-12-procedural-explosion.png-4ce7904e6dcb9961c205e0cc508612b7.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 diff --git a/assets/graphics/backgrounds/25-11-12-procedural-tree-lospec.png b/assets/graphics/backgrounds/25-11-12-procedural-tree-lospec.png new file mode 100644 index 0000000..c06707c Binary files /dev/null and b/assets/graphics/backgrounds/25-11-12-procedural-tree-lospec.png differ diff --git a/assets/graphics/backgrounds/25-11-12-procedural-tree-lospec.png.import b/assets/graphics/backgrounds/25-11-12-procedural-tree-lospec.png.import new file mode 100644 index 0000000..8c94739 --- /dev/null +++ b/assets/graphics/backgrounds/25-11-12-procedural-tree-lospec.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ctj6a3d3nxuwm" +path="res://.godot/imported/25-11-12-procedural-tree-lospec.png-73e5860701b216b9b13079fed1a6bfb5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/backgrounds/25-11-12-procedural-tree-lospec.png" +dest_files=["res://.godot/imported/25-11-12-procedural-tree-lospec.png-73e5860701b216b9b13079fed1a6bfb5.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 diff --git a/assets/graphics/enemies/25-11-12-pdm-endesga-32-0.png b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0.png new file mode 100644 index 0000000..a367140 Binary files /dev/null and b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0.png differ diff --git a/assets/graphics/enemies/25-11-12-pdm-endesga-32-0.png.import b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0.png.import new file mode 100644 index 0000000..427a2c1 --- /dev/null +++ b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdu6dt7clh5o2" +path="res://.godot/imported/25-11-12-pdm-endesga-32-0.png-9d9e40a72c70685bea59a928e1224f72.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/enemies/25-11-12-pdm-endesga-32-0.png" +dest_files=["res://.godot/imported/25-11-12-pdm-endesga-32-0.png-9d9e40a72c70685bea59a928e1224f72.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 diff --git a/assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png new file mode 100644 index 0000000..ad97742 Binary files /dev/null and b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png differ diff --git a/assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png.import b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png.import new file mode 100644 index 0000000..7e5bb65 --- /dev/null +++ b/assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dpq20rryss8we" +path="res://.godot/imported/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png-9b0f0ae891242f89e08f9d32efa8ec5a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png" +dest_files=["res://.godot/imported/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png-9b0f0ae891242f89e08f9d32efa8ec5a.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 diff --git a/project.godot b/project.godot index 94815c1..a7c3826 100644 --- a/project.godot +++ b/project.godot @@ -22,8 +22,8 @@ GameController="*res://scripts/game_controller.gd" [display] -window/size/viewport_width=480 -window/size/viewport_height=270 +window/size/viewport_width=640 +window/size/viewport_height=360 window/size/window_width_override=1280 window/size/window_height_override=720 window/stretch/mode="viewport" diff --git a/scenes/crate.tscn b/scenes/crate.tscn deleted file mode 100644 index 6b9ab70..0000000 --- a/scenes/crate.tscn +++ /dev/null @@ -1,19 +0,0 @@ -[gd_scene load_steps=3 format=3 uid="uid://dnarbab7jjqmk"] - -[ext_resource type="Texture2D" uid="uid://7jy7xuy24fug" path="res://assets/graphics/tiles/crate-100-custom.png" id="1_b66cd"] - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"] -size = Vector2(100, 100) - -[node name="LargeCrate" type="RigidBody2D"] -collision_layer = 4 -collision_mask = 15 -metadata/_edit_group_ = true - -[node name="Sprite2D" type="Sprite2D" parent="."] -position = Vector2(9.53674e-07, 1.90735e-06) -texture = ExtResource("1_b66cd") - -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -shape = SubResource("RectangleShape2D_uwrxv") -debug_color = Color(0.87451, 0.231373, 0.654902, 0.0784314) diff --git a/scenes/levels/level_1.tscn b/scenes/levels/level_1.tscn index d1c465a..c79accc 100644 --- a/scenes/levels/level_1.tscn +++ b/scenes/levels/level_1.tscn @@ -543,10 +543,10 @@ position = Vector2(-317, 18) [node name="Enemies" type="Node" parent="."] [node name="Slimer" parent="Enemies" instance=ExtResource("10_vtaks")] -position = Vector2(-123, 85) +position = Vector2(-139, 69) [node name="Slimer2" parent="Enemies" instance=ExtResource("10_vtaks")] -position = Vector2(53, 86) +position = Vector2(28, 69) [node name="UILayer" type="CanvasLayer" parent="."] diff --git a/scenes/levels/level_2.tscn b/scenes/levels/level_2.tscn index 8407dea..7fcafa4 100644 --- a/scenes/levels/level_2.tscn +++ b/scenes/levels/level_2.tscn @@ -560,10 +560,13 @@ position = Vector2(-18, -140) [node name="Enemies" type="Node" parent="."] [node name="Slimer" parent="Enemies" instance=ExtResource("9_wdtqu")] -position = Vector2(-123, 85) +position = Vector2(-141, 68) [node name="Slimer2" parent="Enemies" instance=ExtResource("9_wdtqu")] -position = Vector2(53, 86) +position = Vector2(410, 4) + +[node name="Slimer3" parent="Enemies" instance=ExtResource("9_wdtqu")] +position = Vector2(-18, -156) [node name="UILayer" type="CanvasLayer" parent="."] diff --git a/scenes/levels/level_3.tscn b/scenes/levels/level_3.tscn index 58427eb..d699dcf 100644 --- a/scenes/levels/level_3.tscn +++ b/scenes/levels/level_3.tscn @@ -610,10 +610,16 @@ position = Vector2(402, 21) [node name="Enemies" type="Node" parent="."] [node name="Slimer" parent="Enemies" instance=ExtResource("9_ema3p")] -position = Vector2(-123, 85) +position = Vector2(-131, 69) [node name="Slimer2" parent="Enemies" instance=ExtResource("9_ema3p")] -position = Vector2(53, 86) +position = Vector2(377, 4) + +[node name="Slimer3" parent="Enemies" instance=ExtResource("9_ema3p")] +position = Vector2(428, -187) + +[node name="Slimer4" parent="Enemies" instance=ExtResource("9_ema3p")] +position = Vector2(-35, -156) [node name="UILayer" type="CanvasLayer" parent="."] diff --git a/scenes/slimer.tscn b/scenes/slimer.tscn index 584a706..4358405 100644 --- a/scenes/slimer.tscn +++ b/scenes/slimer.tscn @@ -1,31 +1,28 @@ [gd_scene load_steps=9 format=3 uid="uid://bts74sqcd7k7h"] -[ext_resource type="Texture2D" uid="uid://wgf50h6hbeib" path="res://assets/graphics/enemies/slime_green(1).png" id="1_02r3y"] [ext_resource type="Script" uid="uid://bcxorf6dwnwbv" path="res://scripts/slimer.gd" id="1_4oill"] - -[sub_resource type="AtlasTexture" id="AtlasTexture_4oill"] -atlas = ExtResource("1_02r3y") -region = Rect2(0, 24, 24, 24) +[ext_resource type="Texture2D" uid="uid://dpq20rryss8we" path="res://assets/graphics/enemies/25-11-12-pdm-endesga-32-0_scaled_3x_pngcrushed.png" id="2_4oill"] [sub_resource type="AtlasTexture" id="AtlasTexture_8ecsm"] -atlas = ExtResource("1_02r3y") -region = Rect2(24, 24, 24, 24) +atlas = ExtResource("2_4oill") +region = Rect2(0, 144, 48, 72) [sub_resource type="AtlasTexture" id="AtlasTexture_swrbd"] -atlas = ExtResource("1_02r3y") -region = Rect2(48, 24, 24, 24) +atlas = ExtResource("2_4oill") +region = Rect2(48, 144, 48, 72) [sub_resource type="AtlasTexture" id="AtlasTexture_slvpl"] -atlas = ExtResource("1_02r3y") -region = Rect2(72, 24, 24, 24) +atlas = ExtResource("2_4oill") +region = Rect2(96, 144, 48, 72) + +[sub_resource type="AtlasTexture" id="AtlasTexture_negjt"] +atlas = ExtResource("2_4oill") +region = Rect2(144, 144, 48, 72) [sub_resource type="SpriteFrames" id="SpriteFrames_negjt"] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_4oill") -}, { -"duration": 1.0, "texture": SubResource("AtlasTexture_8ecsm") }, { "duration": 1.0, @@ -33,14 +30,17 @@ animations = [{ }, { "duration": 1.0, "texture": SubResource("AtlasTexture_slvpl") +}, { +"duration": 1.0, +"texture": SubResource("AtlasTexture_negjt") }], "loop": true, -"name": &"idle", +"name": &"walk", "speed": 6.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_02r3y"] -size = Vector2(14, 15) +size = Vector2(42, 57) [node name="Slimer" type="Area2D"] collision_layer = 16 @@ -49,31 +49,31 @@ script = ExtResource("1_4oill") speed = 100 [node name="SlimeSprite" type="AnimatedSprite2D" parent="."] +position = Vector2(0, -7) sprite_frames = SubResource("SpriteFrames_negjt") -animation = &"idle" -autoplay = "idle" -frame_progress = 0.901815 +animation = &"walk" +autoplay = "walk" +frame_progress = 0.5956298 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2(0, 4.5) shape = SubResource("RectangleShape2D_02r3y") [node name="RightCast" type="RayCast2D" parent="."] -target_position = Vector2(7, 0) +target_position = Vector2(22, 0) collision_mask = 2 [node name="LeftCast" type="RayCast2D" parent="."] -target_position = Vector2(-7, 0) +target_position = Vector2(-22, 0) collision_mask = 2 [node name="RightDownCast" type="RayCast2D" parent="."] -position = Vector2(7, 0) -target_position = Vector2(0, 20) +position = Vector2(21, 0) +target_position = Vector2(0, 37) collision_mask = 2 [node name="LeftDownCast" type="RayCast2D" parent="."] -position = Vector2(-7, 0) -target_position = Vector2(0, 20) +position = Vector2(-21, 0) +target_position = Vector2(0, 37) collision_mask = 2 [connection signal="body_entered" from="." to="." method="_on_body_entered"]