2 Commits

42 changed files with 193 additions and 166 deletions
+2 -5
View File
@@ -61,8 +61,7 @@ position = Vector2(520, -35)
points = PackedVector2Array(0, 0, 0, -76, -454, -76, -454, 3) points = PackedVector2Array(0, 0, 0, -76, -454, -76, -454, 3)
[node name="SelfMovingPlatform" parent="Platforms" parent_id_path=PackedInt32Array(1140671629) index="0" unique_id=349378100 node_paths=PackedStringArray("path", "path_follow") instance=ExtResource("4_h1708")] [node name="SelfMovingPlatform" parent="Platforms" parent_id_path=PackedInt32Array(1140671629) index="0" unique_id=349378100 node_paths=PackedStringArray("path", "path_follow") instance=ExtResource("4_h1708")]
position = Vector2(201.03143, -75) position = Vector2(229, -75)
rotation = -3.1415925
path = NodePath("../Path2D") path = NodePath("../Path2D")
path_follow = NodePath("../Path2D/PathFollow2D") path_follow = NodePath("../Path2D/PathFollow2D")
platform_width = 104 platform_width = 104
@@ -71,9 +70,7 @@ platform_width = 104
curve = SubResource("Curve2D_h1708") curve = SubResource("Curve2D_h1708")
[node name="PathFollow2D" type="PathFollow2D" parent="Platforms/Path2D" index="0" unique_id=1206016336] [node name="PathFollow2D" type="PathFollow2D" parent="Platforms/Path2D" index="0" unique_id=1206016336]
position = Vector2(201.03143, -75) position = Vector2(229, -75)
rotation = 3.1415927
progress = 27.97701
rotates = false rotates = false
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Platforms/Path2D/PathFollow2D" index="0" unique_id=1642833722] [node name="RemoteTransform2D" type="RemoteTransform2D" parent="Platforms/Path2D/PathFollow2D" index="0" unique_id=1642833722]
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://dx1yasi8wlaye"] [gd_scene format=3 uid="uid://dx1yasi8wlaye"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_nvgb0"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_nvgb0"]
[sub_resource type="AtlasTexture" id="AtlasTexture_opqiy"] [sub_resource type="AtlasTexture" id="AtlasTexture_opqiy"]
atlas = ExtResource("1_nvgb0") atlas = ExtResource("1_nvgb0")
region = Rect2(144, 32, 16, 32) region = Rect2(144, 64, 16, 32)
[node name="Bookstand" type="Node2D"] [node name="Bookstand" type="Node2D" unique_id=764203715]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1927584709]
texture = SubResource("AtlasTexture_opqiy") texture = SubResource("AtlasTexture_opqiy")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://dopjsft0y8mw5"] [gd_scene format=3 uid="uid://dopjsft0y8mw5"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_57t4w"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_57t4w"]
[sub_resource type="AtlasTexture" id="AtlasTexture_sqimt"] [sub_resource type="AtlasTexture" id="AtlasTexture_sqimt"]
atlas = ExtResource("1_57t4w") atlas = ExtResource("1_57t4w")
region = Rect2(160, 64, 32, 32) region = Rect2(128, 96, 32, 32)
[node name="Cabinet" type="Node2D"] [node name="Cabinet" type="Node2D" unique_id=776063180]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=633984423]
texture = SubResource("AtlasTexture_sqimt") texture = SubResource("AtlasTexture_sqimt")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://btpkbyyteewsh"] [gd_scene format=3 uid="uid://btpkbyyteewsh"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_e7ewy"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_e7ewy"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ea7rc"] [sub_resource type="AtlasTexture" id="AtlasTexture_ea7rc"]
atlas = ExtResource("1_e7ewy") atlas = ExtResource("1_e7ewy")
region = Rect2(160, 32, 16, 32) region = Rect2(32, 96, 16, 32)
[node name="ChairB" type="Node2D"] [node name="ChairB" type="Node2D" unique_id=593320838]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1141861091]
texture = SubResource("AtlasTexture_ea7rc") texture = SubResource("AtlasTexture_ea7rc")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://b8pvlnpdnfmd0"] [gd_scene format=3 uid="uid://b8pvlnpdnfmd0"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_rse2u"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_rse2u"]
[sub_resource type="AtlasTexture" id="AtlasTexture_1kw05"] [sub_resource type="AtlasTexture" id="AtlasTexture_1kw05"]
atlas = ExtResource("1_rse2u") atlas = ExtResource("1_rse2u")
region = Rect2(160, 0, 16, 32) region = Rect2(0, 96, 16, 32)
[node name="ChairF" type="Node2D"] [node name="ChairF" type="Node2D" unique_id=1967501122]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1824855132]
texture = SubResource("AtlasTexture_1kw05") texture = SubResource("AtlasTexture_1kw05")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://x82wjrsqdfd"] [gd_scene format=3 uid="uid://x82wjrsqdfd"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_xguce"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_xguce"]
[sub_resource type="AtlasTexture" id="AtlasTexture_cktuf"] [sub_resource type="AtlasTexture" id="AtlasTexture_cktuf"]
atlas = ExtResource("1_xguce") atlas = ExtResource("1_xguce")
region = Rect2(176, 0, 16, 32) region = Rect2(16, 96, 16, 32)
[node name="ChairL" type="Node2D"] [node name="ChairL" type="Node2D" unique_id=813233619]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=2136740309]
texture = SubResource("AtlasTexture_cktuf") texture = SubResource("AtlasTexture_cktuf")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://b6wgujelmka5p"] [gd_scene format=3 uid="uid://b6wgujelmka5p"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_e7ewy"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_e7ewy"]
[sub_resource type="AtlasTexture" id="AtlasTexture_e7ewy"] [sub_resource type="AtlasTexture" id="AtlasTexture_e7ewy"]
atlas = ExtResource("1_e7ewy") atlas = ExtResource("1_e7ewy")
region = Rect2(176, 32, 16, 32) region = Rect2(48, 96, 16, 32)
[node name="ChairR" type="Node2D"] [node name="ChairR" type="Node2D" unique_id=567783693]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1599831744]
texture = SubResource("AtlasTexture_e7ewy") texture = SubResource("AtlasTexture_e7ewy")
+8 -8
View File
@@ -13,7 +13,7 @@ func _ready() -> void:
[sub_resource type="AtlasTexture" id="AtlasTexture_2ho61"] [sub_resource type="AtlasTexture" id="AtlasTexture_2ho61"]
atlas = ExtResource("1_xghly") atlas = ExtResource("1_xghly")
region = Rect2(0, 0, 32, 32) region = Rect2(0, 32, 32, 32)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2ho61"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_2ho61"]
shader = ExtResource("2_4nvxe") shader = ExtResource("2_4nvxe")
@@ -26,24 +26,24 @@ shader_parameter/intensity = 0.6000000285
shader_parameter/scale = 75.0000035625 shader_parameter/scale = 75.0000035625
shader_parameter/use_world_pos = false shader_parameter/use_world_pos = false
[sub_resource type="AtlasTexture" id="AtlasTexture_6xx0h"] [sub_resource type="AtlasTexture" id="AtlasTexture_tl0fg"]
atlas = ExtResource("1_xghly") atlas = ExtResource("1_xghly")
region = Rect2(32, 0, 16, 16) region = Rect2(32, 32, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_b1qtt"] [sub_resource type="AtlasTexture" id="AtlasTexture_1wq20"]
atlas = ExtResource("1_xghly") atlas = ExtResource("1_xghly")
region = Rect2(32, 16, 16, 16) region = Rect2(32, 48, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_f0x6e"] [sub_resource type="SpriteFrames" id="SpriteFrames_f0x6e"]
animations = [{ animations = [{
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_6xx0h") "texture": SubResource("AtlasTexture_tl0fg")
}, { }, {
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_b1qtt") "texture": SubResource("AtlasTexture_1wq20")
}], }],
"loop": true, "loop": 1,
"name": &"default", "name": &"default",
"speed": 5.0 "speed": 5.0
}] }]
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://d3m8kf7lqmyb8"] [gd_scene format=3 uid="uid://d3m8kf7lqmyb8"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_x6vix"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_x6vix"]
[sub_resource type="AtlasTexture" id="AtlasTexture_i1pbn"] [sub_resource type="AtlasTexture" id="AtlasTexture_i1pbn"]
atlas = ExtResource("1_x6vix") atlas = ExtResource("1_x6vix")
region = Rect2(128, 48, 16, 16) region = Rect2(128, 80, 16, 16)
[node name="FlaskL" type="Node2D"] [node name="FlaskL" type="Node2D" unique_id=1215208712]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1287451147]
texture = SubResource("AtlasTexture_i1pbn") texture = SubResource("AtlasTexture_i1pbn")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://bt4smb361amjj"] [gd_scene format=3 uid="uid://bt4smb361amjj"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_05y3q"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_05y3q"]
[sub_resource type="AtlasTexture" id="AtlasTexture_wg65s"] [sub_resource type="AtlasTexture" id="AtlasTexture_wg65s"]
atlas = ExtResource("1_05y3q") atlas = ExtResource("1_05y3q")
region = Rect2(128, 32, 16, 16) region = Rect2(128, 64, 16, 16)
[node name="FlaskS" type="Node2D"] [node name="FlaskS" type="Node2D" unique_id=565628633]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1428095427]
texture = SubResource("AtlasTexture_wg65s") texture = SubResource("AtlasTexture_wg65s")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://xny1x7me75gc"] [gd_scene format=3 uid="uid://xny1x7me75gc"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_xsvl5"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_xsvl5"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nypty"] [sub_resource type="AtlasTexture" id="AtlasTexture_nypty"]
atlas = ExtResource("1_xsvl5") atlas = ExtResource("1_xsvl5")
region = Rect2(80, 48, 32, 16) region = Rect2(64, 96, 32, 16)
[node name="MirrorL" type="Node2D"] [node name="MirrorL" type="Node2D" unique_id=1288179942]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1490381604]
texture = SubResource("AtlasTexture_nypty") texture = SubResource("AtlasTexture_nypty")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://bmx60xftq8f2v"] [gd_scene format=3 uid="uid://bmx60xftq8f2v"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_vvvt3"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_vvvt3"]
[sub_resource type="AtlasTexture" id="AtlasTexture_7fxax"] [sub_resource type="AtlasTexture" id="AtlasTexture_7fxax"]
atlas = ExtResource("1_vvvt3") atlas = ExtResource("1_vvvt3")
region = Rect2(112, 48, 16, 16) region = Rect2(80, 80, 16, 16)
[node name="MirrorS" type="Node2D"] [node name="MirrorS" type="Node2D" unique_id=101696669]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1159919284]
texture = SubResource("AtlasTexture_7fxax") texture = SubResource("AtlasTexture_7fxax")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://crccdk7wmuqig"] [gd_scene format=3 uid="uid://crccdk7wmuqig"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_a62d7"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_a62d7"]
[sub_resource type="AtlasTexture" id="AtlasTexture_qwmf4"] [sub_resource type="AtlasTexture" id="AtlasTexture_qwmf4"]
atlas = ExtResource("1_a62d7") atlas = ExtResource("1_a62d7")
region = Rect2(0, 32, 48, 32) region = Rect2(0, 64, 48, 32)
[node name="PaintingHL" type="Node2D"] [node name="PaintingHL" type="Node2D" unique_id=959335970]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=2121715166]
texture = SubResource("AtlasTexture_qwmf4") texture = SubResource("AtlasTexture_qwmf4")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://c0bk5sk661hi1"] [gd_scene format=3 uid="uid://c0bk5sk661hi1"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_u3qkd"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_u3qkd"]
[sub_resource type="AtlasTexture" id="AtlasTexture_vssfe"] [sub_resource type="AtlasTexture" id="AtlasTexture_vssfe"]
atlas = ExtResource("1_u3qkd") atlas = ExtResource("1_u3qkd")
region = Rect2(48, 32, 32, 32) region = Rect2(48, 64, 32, 32)
[node name="PaintingHS" type="Node2D"] [node name="PaintingHS" type="Node2D" unique_id=926741995]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1315587316]
texture = SubResource("AtlasTexture_vssfe") texture = SubResource("AtlasTexture_vssfe")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://d330w1ygg6uxy"] [gd_scene format=3 uid="uid://d330w1ygg6uxy"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_v74mh"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_v74mh"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hq5lq"] [sub_resource type="AtlasTexture" id="AtlasTexture_hq5lq"]
atlas = ExtResource("1_v74mh") atlas = ExtResource("1_v74mh")
region = Rect2(80, 0, 32, 48) region = Rect2(80, 32, 32, 48)
[node name="PaintingVL" type="Node2D"] [node name="PaintingVL" type="Node2D" unique_id=156792445]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=107725313]
texture = SubResource("AtlasTexture_hq5lq") texture = SubResource("AtlasTexture_hq5lq")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://bo7756lp68bl1"] [gd_scene format=3 uid="uid://bo7756lp68bl1"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_1hdr2"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_1hdr2"]
[sub_resource type="AtlasTexture" id="AtlasTexture_0ynw1"] [sub_resource type="AtlasTexture" id="AtlasTexture_0ynw1"]
atlas = ExtResource("1_1hdr2") atlas = ExtResource("1_1hdr2")
region = Rect2(48, 0, 32, 32) region = Rect2(48, 32, 32, 32)
[node name="PaintingVS" type="Node2D"] [node name="PaintingVS" type="Node2D" unique_id=662135951]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1657442294]
texture = SubResource("AtlasTexture_0ynw1") texture = SubResource("AtlasTexture_0ynw1")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://c6qy8uybkn4x"] [gd_scene format=3 uid="uid://c6qy8uybkn4x"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_wkk58"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_wkk58"]
[sub_resource type="AtlasTexture" id="AtlasTexture_q70ul"] [sub_resource type="AtlasTexture" id="AtlasTexture_q70ul"]
atlas = ExtResource("1_wkk58") atlas = ExtResource("1_wkk58")
region = Rect2(112, 32, 16, 16) region = Rect2(112, 64, 16, 16)
[node name="Plate" type="Node2D"] [node name="Plate" type="Node2D" unique_id=611682922]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1274674649]
texture = SubResource("AtlasTexture_q70ul") texture = SubResource("AtlasTexture_q70ul")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://thggjfcrcjq6"] [gd_scene format=3 uid="uid://thggjfcrcjq6"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_xsq2h"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_xsq2h"]
[sub_resource type="AtlasTexture" id="AtlasTexture_hbatg"] [sub_resource type="AtlasTexture" id="AtlasTexture_hbatg"]
atlas = ExtResource("1_xsq2h") atlas = ExtResource("1_xsq2h")
region = Rect2(144, 0, 16, 16) region = Rect2(144, 32, 16, 16)
[node name="RedortEndL" type="Node2D"] [node name="RedortEndL" type="Node2D" unique_id=186703054]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=2083648757]
texture = SubResource("AtlasTexture_hbatg") texture = SubResource("AtlasTexture_hbatg")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://cpvsevdfmecrq"] [gd_scene format=3 uid="uid://cpvsevdfmecrq"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_ibloa"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_ibloa"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2d2yp"] [sub_resource type="AtlasTexture" id="AtlasTexture_2d2yp"]
atlas = ExtResource("1_ibloa") atlas = ExtResource("1_ibloa")
region = Rect2(112, 16, 16, 16) region = Rect2(112, 48, 16, 16)
[node name="RetortEndR" type="Node2D"] [node name="RetortEndR" type="Node2D" unique_id=361163783]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=851249465]
texture = SubResource("AtlasTexture_2d2yp") texture = SubResource("AtlasTexture_2d2yp")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://bvbjd5l447qjy"] [gd_scene format=3 uid="uid://bvbjd5l447qjy"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_u1d6f"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_u1d6f"]
[sub_resource type="AtlasTexture" id="AtlasTexture_8epgq"] [sub_resource type="AtlasTexture" id="AtlasTexture_8epgq"]
atlas = ExtResource("1_u1d6f") atlas = ExtResource("1_u1d6f")
region = Rect2(128, 16, 32, 16) region = Rect2(128, 48, 32, 16)
[node name="RetortL" type="Node2D"] [node name="RetortL" type="Node2D" unique_id=928599671]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=777287822]
texture = SubResource("AtlasTexture_8epgq") texture = SubResource("AtlasTexture_8epgq")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://b0uy410hvlosm"] [gd_scene format=3 uid="uid://b0uy410hvlosm"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_gohft"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_gohft"]
[sub_resource type="AtlasTexture" id="AtlasTexture_f54r7"] [sub_resource type="AtlasTexture" id="AtlasTexture_f54r7"]
atlas = ExtResource("1_gohft") atlas = ExtResource("1_gohft")
region = Rect2(112, 0, 32, 16) region = Rect2(112, 32, 32, 16)
[node name="RetortR" type="Node2D"] [node name="RetortR" type="Node2D" unique_id=2131329697]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=889741540]
texture = SubResource("AtlasTexture_f54r7") texture = SubResource("AtlasTexture_f54r7")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://b1cq0uor2sk6k"] [gd_scene format=3 uid="uid://b1cq0uor2sk6k"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_ftoqg"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_ftoqg"]
[sub_resource type="AtlasTexture" id="AtlasTexture_l7gad"] [sub_resource type="AtlasTexture" id="AtlasTexture_l7gad"]
atlas = ExtResource("1_ftoqg") atlas = ExtResource("1_ftoqg")
region = Rect2(80, 64, 80, 32) region = Rect2(80, 0, 80, 32)
[node name="TableL" type="Node2D"] [node name="TableL" type="Node2D" unique_id=1210198021]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1155132216]
texture = SubResource("AtlasTexture_l7gad") texture = SubResource("AtlasTexture_l7gad")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://bdwbdnbenueu1"] [gd_scene format=3 uid="uid://bdwbdnbenueu1"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_qacj7"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_qacj7"]
[sub_resource type="AtlasTexture" id="AtlasTexture_runce"] [sub_resource type="AtlasTexture" id="AtlasTexture_runce"]
atlas = ExtResource("1_qacj7") atlas = ExtResource("1_qacj7")
region = Rect2(32, 64, 48, 32) region = Rect2(32, 0, 48, 32)
[node name="TableM" type="Node2D"] [node name="TableM" type="Node2D" unique_id=639741163]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=881942302]
texture = SubResource("AtlasTexture_runce") texture = SubResource("AtlasTexture_runce")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://baqawh1drerhk"] [gd_scene format=3 uid="uid://baqawh1drerhk"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_qacj7"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_qacj7"]
[sub_resource type="AtlasTexture" id="AtlasTexture_n2itf"] [sub_resource type="AtlasTexture" id="AtlasTexture_n2itf"]
atlas = ExtResource("1_qacj7") atlas = ExtResource("1_qacj7")
region = Rect2(0, 64, 32, 32) region = Rect2(0, 0, 32, 32)
[node name="TableS" type="Node2D"] [node name="TableS" type="Node2D" unique_id=1273697628]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=1017827625]
texture = SubResource("AtlasTexture_n2itf") texture = SubResource("AtlasTexture_n2itf")
+4 -4
View File
@@ -1,12 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://cvhovmnl050os"] [gd_scene format=3 uid="uid://cvhovmnl050os"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_610bq"] [ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_610bq"]
[sub_resource type="AtlasTexture" id="AtlasTexture_wbqlk"] [sub_resource type="AtlasTexture" id="AtlasTexture_wbqlk"]
atlas = ExtResource("1_610bq") atlas = ExtResource("1_610bq")
region = Rect2(160, 96, 32, 48) region = Rect2(96, 80, 32, 48)
[node name="Wardrobe" type="Node2D"] [node name="Wardrobe" type="Node2D" unique_id=1607339750]
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="." unique_id=422307570]
texture = SubResource("AtlasTexture_wbqlk") texture = SubResource("AtlasTexture_wbqlk")
@@ -2,9 +2,9 @@
[ext_resource type="Script" uid="uid://byjums4jdva4x" path="res://game/objects/informative/abstract_action_tip.gd" id="1_erg4q"] [ext_resource type="Script" uid="uid://byjums4jdva4x" path="res://game/objects/informative/abstract_action_tip.gd" id="1_erg4q"]
[node name="AbstractActionTip" type="Node2D"] [node name="AbstractActionTip" type="Node2D" unique_id=1961962362]
script = ExtResource("1_erg4q") script = ExtResource("1_erg4q")
[node name="SpriteKbd" type="Sprite2D" parent="."] [node name="SpriteKbd" type="Sprite2D" parent="." unique_id=948959005]
[node name="SpritePad" type="Sprite2D" parent="."] [node name="SpritePad" type="Sprite2D" parent="." unique_id=1703375720]
@@ -0,0 +1,20 @@
[gd_scene format=3 uid="uid://bj1en1mlmo6tn"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_jo2j3"]
[ext_resource type="Texture2D" uid="uid://dm52nybfe5efa" path="res://images/level/tips.png" id="2_6frub"]
[sub_resource type="AtlasTexture" id="AtlasTexture_jo2j3"]
atlas = ExtResource("2_6frub")
region = Rect2(160, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_n74up"]
atlas = ExtResource("2_6frub")
region = Rect2(160, 32, 16, 16)
[node name="InteractionActionHoverTip" unique_id=1961962362 instance=ExtResource("1_jo2j3")]
[node name="SpriteKbd" parent="." index="0" unique_id=948959005]
texture = SubResource("AtlasTexture_jo2j3")
[node name="SpritePad" parent="." index="1" unique_id=1703375720]
texture = SubResource("AtlasTexture_n74up")
@@ -1,20 +1,20 @@
[gd_scene format=3 uid="uid://g7wjnlsbden8"] [gd_scene format=3 uid="uid://g7wjnlsbden8"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_jsfj2"] [ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_jsfj2"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_xbyc1"] [ext_resource type="Texture2D" uid="uid://dm52nybfe5efa" path="res://images/level/tips.png" id="2_1hq02"]
[sub_resource type="AtlasTexture" id="AtlasTexture_71ogr"] [sub_resource type="AtlasTexture" id="AtlasTexture_71ogr"]
atlas = ExtResource("2_xbyc1") atlas = ExtResource("2_1hq02")
region = Rect2(128, 96, 32, 32) region = Rect2(128, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_jsfj2"] [sub_resource type="AtlasTexture" id="AtlasTexture_jsfj2"]
atlas = ExtResource("2_xbyc1") atlas = ExtResource("2_1hq02")
region = Rect2(128, 128, 32, 32) region = Rect2(128, 32, 32, 32)
[node name="InteractionActionTip" instance=ExtResource("1_jsfj2")] [node name="InteractionActionTip" unique_id=1400240189 instance=ExtResource("1_jsfj2")]
[node name="SpriteKbd" parent="." index="0"] [node name="SpriteKbd" parent="." index="0" unique_id=948959005]
texture = SubResource("AtlasTexture_71ogr") texture = SubResource("AtlasTexture_71ogr")
[node name="SpritePad" parent="." index="1"] [node name="SpritePad" parent="." index="1" unique_id=1703375720]
texture = SubResource("AtlasTexture_jsfj2") texture = SubResource("AtlasTexture_jsfj2")
@@ -1,20 +1,20 @@
[gd_scene format=3 uid="uid://cjduhfqgdmyhe"] [gd_scene format=3 uid="uid://cjduhfqgdmyhe"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_ffrc6"] [ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_ffrc6"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_nd0mf"] [ext_resource type="Texture2D" uid="uid://dm52nybfe5efa" path="res://images/level/tips.png" id="2_vycfk"]
[sub_resource type="AtlasTexture" id="AtlasTexture_sre3d"] [sub_resource type="AtlasTexture" id="AtlasTexture_sre3d"]
atlas = ExtResource("2_nd0mf") atlas = ExtResource("2_vycfk")
region = Rect2(32, 96, 48, 32) region = Rect2(32, 0, 48, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nd0mf"] [sub_resource type="AtlasTexture" id="AtlasTexture_nd0mf"]
atlas = ExtResource("2_nd0mf") atlas = ExtResource("2_vycfk")
region = Rect2(32, 128, 48, 32) region = Rect2(32, 32, 48, 32)
[node name="JumpActionTip" instance=ExtResource("1_ffrc6")] [node name="JumpActionTip" unique_id=540391503 instance=ExtResource("1_ffrc6")]
[node name="SpriteKbd" parent="." index="0"] [node name="SpriteKbd" parent="." index="0" unique_id=948959005]
texture = SubResource("AtlasTexture_sre3d") texture = SubResource("AtlasTexture_sre3d")
[node name="SpritePad" parent="." index="1"] [node name="SpritePad" parent="." index="1" unique_id=1703375720]
texture = SubResource("AtlasTexture_nd0mf") texture = SubResource("AtlasTexture_nd0mf")
@@ -1,20 +1,20 @@
[gd_scene format=3 uid="uid://be3mqeb784shj"] [gd_scene format=3 uid="uid://be3mqeb784shj"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_6vlve"] [ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_6vlve"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_aui55"] [ext_resource type="Texture2D" uid="uid://dm52nybfe5efa" path="res://images/level/tips.png" id="2_vi0b2"]
[sub_resource type="AtlasTexture" id="AtlasTexture_qoa1y"] [sub_resource type="AtlasTexture" id="AtlasTexture_qoa1y"]
atlas = ExtResource("2_aui55") atlas = ExtResource("2_vi0b2")
region = Rect2(0, 96, 32, 32) region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_aui55"] [sub_resource type="AtlasTexture" id="AtlasTexture_aui55"]
atlas = ExtResource("2_aui55") atlas = ExtResource("2_vi0b2")
region = Rect2(0, 128, 32, 32) region = Rect2(0, 32, 32, 32)
[node name="MovementActionTip" instance=ExtResource("1_6vlve")] [node name="MovementActionTip" unique_id=1113266380 instance=ExtResource("1_6vlve")]
[node name="SpriteKbd" parent="." index="0"] [node name="SpriteKbd" parent="." index="0" unique_id=948959005]
texture = SubResource("AtlasTexture_qoa1y") texture = SubResource("AtlasTexture_qoa1y")
[node name="SpritePad" parent="." index="1"] [node name="SpritePad" parent="." index="1" unique_id=1703375720]
texture = SubResource("AtlasTexture_aui55") texture = SubResource("AtlasTexture_aui55")
@@ -1,20 +1,20 @@
[gd_scene format=3 uid="uid://b0pxe00dlyx7t"] [gd_scene format=3 uid="uid://b0pxe00dlyx7t"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_sol75"] [ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_sol75"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_278pw"] [ext_resource type="Texture2D" uid="uid://dm52nybfe5efa" path="res://images/level/tips.png" id="2_pqxdg"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2aait"] [sub_resource type="AtlasTexture" id="AtlasTexture_2aait"]
atlas = ExtResource("2_278pw") atlas = ExtResource("2_pqxdg")
region = Rect2(80, 96, 48, 32) region = Rect2(80, 0, 48, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_278pw"] [sub_resource type="AtlasTexture" id="AtlasTexture_278pw"]
atlas = ExtResource("2_278pw") atlas = ExtResource("2_pqxdg")
region = Rect2(80, 128, 48, 32) region = Rect2(80, 32, 48, 32)
[node name="SwitchActionTip" instance=ExtResource("1_sol75")] [node name="SwitchActionTip" unique_id=990890004 instance=ExtResource("1_sol75")]
[node name="SpriteKbd" parent="." index="0"] [node name="SpriteKbd" parent="." index="0" unique_id=948959005]
texture = SubResource("AtlasTexture_2aait") texture = SubResource("AtlasTexture_2aait")
[node name="SpritePad" parent="." index="1"] [node name="SpritePad" parent="." index="1" unique_id=1703375720]
texture = SubResource("AtlasTexture_278pw") texture = SubResource("AtlasTexture_278pw")
@@ -2,26 +2,26 @@ class_name AbstractActivatableObject
extends Node2D extends Node2D
@onready var hint_sprite : Sprite2D = $HintSprite @onready var hover_tip : Node2D = $HoverTip
var _player_in_range := false var _player_in_range := false
func _ready() -> void: func _ready() -> void:
hint_sprite.hide() hover_tip.hide()
func _on_body_entered(body: Node2D) -> void: func _on_body_entered(body: Node2D) -> void:
if body is Player: if body is Player:
hint_sprite.show() hover_tip.show()
_player_in_range = true _player_in_range = true
body.interacted.connect(_activate) body.interacted.connect(_activate)
func _on_body_exited(body: Node2D) -> void: func _on_body_exited(body: Node2D) -> void:
if body is Player: if body is Player:
hint_sprite.hide() hover_tip.hide()
_player_in_range = false _player_in_range = false
body.interacted.disconnect(_activate) body.interacted.disconnect(_activate)
@@ -1,7 +1,7 @@
[gd_scene format=3 uid="uid://725frvpqe1c8"] [gd_scene format=3 uid="uid://725frvpqe1c8"]
[ext_resource type="Script" uid="uid://cfqo4k2uarorm" path="res://game/objects/interactive/abstract_activatable_object.gd" id="1_b4djr"] [ext_resource type="Script" uid="uid://cfqo4k2uarorm" path="res://game/objects/interactive/abstract_activatable_object.gd" id="1_b4djr"]
[ext_resource type="Texture2D" uid="uid://c42nswehn307r" path="res://images/level/activation_hint.png" id="1_rexes"] [ext_resource type="PackedScene" uid="uid://bj1en1mlmo6tn" path="res://game/objects/informative/interaction_action_hover_tip.tscn" id="2_b4djr"]
[sub_resource type="CircleShape2D" id="CircleShape2D_n2cvl"] [sub_resource type="CircleShape2D" id="CircleShape2D_n2cvl"]
@@ -13,8 +13,7 @@ script = ExtResource("1_b4djr")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2065213362] [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2065213362]
shape = SubResource("CircleShape2D_n2cvl") shape = SubResource("CircleShape2D_n2cvl")
[node name="HintSprite" type="Sprite2D" parent="." unique_id=1362423739] [node name="HoverTip" parent="." unique_id=1961962362 instance=ExtResource("2_b4djr")]
texture = ExtResource("1_rexes")
[connection signal="body_entered" from="." to="." method="_on_body_entered"] [connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"] [connection signal="body_exited" from="." to="." method="_on_body_exited"]
+2 -2
View File
@@ -39,7 +39,7 @@ func _activate() -> void:
var set_state := func(state: State) -> void: var set_state := func(state: State) -> void:
_current_state = state _current_state = state
_update_animation() _update_animation()
hint_sprite.hide() hover_tip.hide()
switching.emit() switching.emit()
SoundManager.play_sfx_stream(SoundManager.sfx_stream_lever, global_position) SoundManager.play_sfx_stream(SoundManager.sfx_stream_lever, global_position)
@@ -61,7 +61,7 @@ func _on_animation_finished() -> void:
_update_animation() _update_animation()
switched.emit() switched.emit()
if _player_in_range: if _player_in_range:
hint_sprite.show() hover_tip.show()
match _current_state: match _current_state:
State.TurningLeft: State.TurningLeft:
+5 -5
View File
@@ -53,7 +53,7 @@ animations = [{
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_ap6wp") "texture": SubResource("AtlasTexture_ap6wp")
}], }],
"loop": true, "loop": 1,
"name": &"turned_left", "name": &"turned_left",
"speed": 5.0 "speed": 5.0
}, { }, {
@@ -61,7 +61,7 @@ animations = [{
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_wb3bq") "texture": SubResource("AtlasTexture_wb3bq")
}], }],
"loop": true, "loop": 1,
"name": &"turned_right", "name": &"turned_right",
"speed": 5.0 "speed": 5.0
}, { }, {
@@ -78,7 +78,7 @@ animations = [{
"duration": 2.0, "duration": 2.0,
"texture": SubResource("AtlasTexture_eom63") "texture": SubResource("AtlasTexture_eom63")
}], }],
"loop": false, "loop": 0,
"name": &"turning_left", "name": &"turning_left",
"speed": 20.0 "speed": 20.0
}, { }, {
@@ -95,7 +95,7 @@ animations = [{
"duration": 2.0, "duration": 2.0,
"texture": SubResource("AtlasTexture_5h41l") "texture": SubResource("AtlasTexture_5h41l")
}], }],
"loop": false, "loop": 0,
"name": &"turning_right", "name": &"turning_right",
"speed": 20.0 "speed": 20.0
}] }]
@@ -112,7 +112,7 @@ initial_state = 0
position = Vector2(0, -4) position = Vector2(0, -4)
shape = SubResource("RectangleShape2D_tnscr") shape = SubResource("RectangleShape2D_tnscr")
[node name="HintSprite" parent="." index="1" unique_id=1362423739] [node name="HoverTip" parent="." index="1" unique_id=1961962362]
position = Vector2(0, -11) position = Vector2(0, -11)
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="2" unique_id=2086579452] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="2" unique_id=2086579452]
+3 -2
View File
@@ -36,6 +36,7 @@ const MAX_WIDTH = TILE_SIZE * 32
@onready var collision: CollisionShape2D = $CollisionShape2D @onready var collision: CollisionShape2D = $CollisionShape2D
@onready var standing_check_collision: CollisionShape2D = $Area2D/CollisionShape2D
@onready var sub_viewport: SubViewport = $SubViewport @onready var sub_viewport: SubViewport = $SubViewport
@onready var platform_sprite: Sprite2D = $Sprite2D @onready var platform_sprite: Sprite2D = $Sprite2D
@onready var platform_rect: ColorRect = $SubViewport/PlatformRect @onready var platform_rect: ColorRect = $SubViewport/PlatformRect
@@ -50,8 +51,8 @@ func _ready() -> void:
func rebuild_platform() -> void: func rebuild_platform() -> void:
var shape := collision.shape as RectangleShape2D collision.shape.size.x = platform_width
shape.size.x = platform_width standing_check_collision.shape.size.x = platform_width - 4
var platfor_size := Vector2(platform_width, TILE_SIZE) var platfor_size := Vector2(platform_width, TILE_SIZE)
+10
View File
@@ -493,6 +493,9 @@ animations = [{
resource_local_to_scene = true resource_local_to_scene = true
size = Vector2(16, 7) size = Vector2(16, 7)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bhunq"]
size = Vector2(12, 1)
[node name="AbstractPlatform" type="AnimatableBody2D" unique_id=137546339] [node name="AbstractPlatform" type="AnimatableBody2D" unique_id=137546339]
collision_mask = 0 collision_mask = 0
script = ExtResource("1_426vp") script = ExtResource("1_426vp")
@@ -532,3 +535,10 @@ sprite_frames = SubResource("SpriteFrames_j4n83")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=175449124] [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=175449124]
position = Vector2(0, -0.5) position = Vector2(0, -0.5)
shape = SubResource("RectangleShape2D_jsq8n") shape = SubResource("RectangleShape2D_jsq8n")
[node name="Area2D" type="Area2D" parent="." unique_id=1655744842]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1261028767]
position = Vector2(0, -4.5)
shape = SubResource("RectangleShape2D_bhunq")
debug_color = Color(0.9020316, 0.24375501, 0.4918024, 0.41960785)
+1 -1
View File
@@ -66,7 +66,7 @@ func _select_animation() -> void:
icon_sprite.play(ANIMATION_SELF_MOVING) icon_sprite.play(ANIMATION_SELF_MOVING)
return return
var direction : String = ANIMATION_MAP[type][not is_reverse] var direction : String = ANIMATION_MAP[type][is_reverse]
var suffix := ANIMATION_ACTIVE_SUFFIX if is_moving else ANIMATION_STATIC_SUFFIX var suffix := ANIMATION_ACTIVE_SUFFIX if is_moving else ANIMATION_STATIC_SUFFIX
icon_sprite.play(ANIMATION_MOVING_PREFIX + direction + suffix) icon_sprite.play(ANIMATION_MOVING_PREFIX + direction + suffix)
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
@@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://c42nswehn307r" uid="uid://dm52nybfe5efa"
path="res://.godot/imported/activation_hint.png-d71cb806d34b5813c305102aca86fa65.ctex" path="res://.godot/imported/tips.png-54e4ed860039a31b1db7970cfa7caa43.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://images/level/activation_hint.png" source_file="res://images/level/tips.png"
dest_files=["res://.godot/imported/activation_hint.png-d71cb806d34b5813c305102aca86fa65.ctex"] dest_files=["res://.godot/imported/tips.png-54e4ed860039a31b1db7970cfa7caa43.ctex"]
[params] [params]