Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 08c6e3a870 | |||
| 6bfe08e76c |
@@ -61,8 +61,7 @@ position = Vector2(520, -35)
|
||||
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")]
|
||||
position = Vector2(201.03143, -75)
|
||||
rotation = -3.1415925
|
||||
position = Vector2(229, -75)
|
||||
path = NodePath("../Path2D")
|
||||
path_follow = NodePath("../Path2D/PathFollow2D")
|
||||
platform_width = 104
|
||||
@@ -71,9 +70,7 @@ platform_width = 104
|
||||
curve = SubResource("Curve2D_h1708")
|
||||
|
||||
[node name="PathFollow2D" type="PathFollow2D" parent="Platforms/Path2D" index="0" unique_id=1206016336]
|
||||
position = Vector2(201.03143, -75)
|
||||
rotation = 3.1415927
|
||||
progress = 27.97701
|
||||
position = Vector2(229, -75)
|
||||
rotates = false
|
||||
|
||||
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Platforms/Path2D/PathFollow2D" index="0" unique_id=1642833722]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_opqiy"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_sqimt"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ea7rc"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1kw05"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cktuf"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_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")
|
||||
|
||||
@@ -13,7 +13,7 @@ func _ready() -> void:
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2ho61"]
|
||||
atlas = ExtResource("1_xghly")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
region = Rect2(0, 32, 32, 32)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2ho61"]
|
||||
shader = ExtResource("2_4nvxe")
|
||||
@@ -26,24 +26,24 @@ shader_parameter/intensity = 0.6000000285
|
||||
shader_parameter/scale = 75.0000035625
|
||||
shader_parameter/use_world_pos = false
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6xx0h"]
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tl0fg"]
|
||||
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")
|
||||
region = Rect2(32, 16, 16, 16)
|
||||
region = Rect2(32, 48, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_f0x6e"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6xx0h")
|
||||
"texture": SubResource("AtlasTexture_tl0fg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b1qtt")
|
||||
"texture": SubResource("AtlasTexture_1wq20")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i1pbn"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wg65s"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nypty"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7fxax"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qwmf4"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vssfe"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hq5lq"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0ynw1"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_q70ul"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hbatg"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2d2yp"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8epgq"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_f54r7"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_l7gad"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_runce"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n2itf"]
|
||||
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")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wbqlk"]
|
||||
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")
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
[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")
|
||||
|
||||
[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"]
|
||||
|
||||
[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"]
|
||||
atlas = ExtResource("2_xbyc1")
|
||||
region = Rect2(128, 96, 32, 32)
|
||||
atlas = ExtResource("2_1hq02")
|
||||
region = Rect2(128, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jsfj2"]
|
||||
atlas = ExtResource("2_xbyc1")
|
||||
region = Rect2(128, 128, 32, 32)
|
||||
atlas = ExtResource("2_1hq02")
|
||||
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")
|
||||
|
||||
[node name="SpritePad" parent="." index="1"]
|
||||
[node name="SpritePad" parent="." index="1" unique_id=1703375720]
|
||||
texture = SubResource("AtlasTexture_jsfj2")
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
[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="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"]
|
||||
atlas = ExtResource("2_nd0mf")
|
||||
region = Rect2(32, 96, 48, 32)
|
||||
atlas = ExtResource("2_vycfk")
|
||||
region = Rect2(32, 0, 48, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nd0mf"]
|
||||
atlas = ExtResource("2_nd0mf")
|
||||
region = Rect2(32, 128, 48, 32)
|
||||
atlas = ExtResource("2_vycfk")
|
||||
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")
|
||||
|
||||
[node name="SpritePad" parent="." index="1"]
|
||||
[node name="SpritePad" parent="." index="1" unique_id=1703375720]
|
||||
texture = SubResource("AtlasTexture_nd0mf")
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
[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="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"]
|
||||
atlas = ExtResource("2_aui55")
|
||||
region = Rect2(0, 96, 32, 32)
|
||||
atlas = ExtResource("2_vi0b2")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_aui55"]
|
||||
atlas = ExtResource("2_aui55")
|
||||
region = Rect2(0, 128, 32, 32)
|
||||
atlas = ExtResource("2_vi0b2")
|
||||
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")
|
||||
|
||||
[node name="SpritePad" parent="." index="1"]
|
||||
[node name="SpritePad" parent="." index="1" unique_id=1703375720]
|
||||
texture = SubResource("AtlasTexture_aui55")
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
[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="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"]
|
||||
atlas = ExtResource("2_278pw")
|
||||
region = Rect2(80, 96, 48, 32)
|
||||
atlas = ExtResource("2_pqxdg")
|
||||
region = Rect2(80, 0, 48, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_278pw"]
|
||||
atlas = ExtResource("2_278pw")
|
||||
region = Rect2(80, 128, 48, 32)
|
||||
atlas = ExtResource("2_pqxdg")
|
||||
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")
|
||||
|
||||
[node name="SpritePad" parent="." index="1"]
|
||||
[node name="SpritePad" parent="." index="1" unique_id=1703375720]
|
||||
texture = SubResource("AtlasTexture_278pw")
|
||||
|
||||
@@ -2,26 +2,26 @@ class_name AbstractActivatableObject
|
||||
extends Node2D
|
||||
|
||||
|
||||
@onready var hint_sprite : Sprite2D = $HintSprite
|
||||
@onready var hover_tip : Node2D = $HoverTip
|
||||
|
||||
|
||||
var _player_in_range := false
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
hint_sprite.hide()
|
||||
hover_tip.hide()
|
||||
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
if body is Player:
|
||||
hint_sprite.show()
|
||||
hover_tip.show()
|
||||
_player_in_range = true
|
||||
body.interacted.connect(_activate)
|
||||
|
||||
|
||||
func _on_body_exited(body: Node2D) -> void:
|
||||
if body is Player:
|
||||
hint_sprite.hide()
|
||||
hover_tip.hide()
|
||||
_player_in_range = false
|
||||
body.interacted.disconnect(_activate)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[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="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"]
|
||||
|
||||
@@ -13,8 +13,7 @@ script = ExtResource("1_b4djr")
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2065213362]
|
||||
shape = SubResource("CircleShape2D_n2cvl")
|
||||
|
||||
[node name="HintSprite" type="Sprite2D" parent="." unique_id=1362423739]
|
||||
texture = ExtResource("1_rexes")
|
||||
[node name="HoverTip" parent="." unique_id=1961962362 instance=ExtResource("2_b4djr")]
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
||||
|
||||
@@ -39,7 +39,7 @@ func _activate() -> void:
|
||||
var set_state := func(state: State) -> void:
|
||||
_current_state = state
|
||||
_update_animation()
|
||||
hint_sprite.hide()
|
||||
hover_tip.hide()
|
||||
switching.emit()
|
||||
SoundManager.play_sfx_stream(SoundManager.sfx_stream_lever, global_position)
|
||||
|
||||
@@ -61,7 +61,7 @@ func _on_animation_finished() -> void:
|
||||
_update_animation()
|
||||
switched.emit()
|
||||
if _player_in_range:
|
||||
hint_sprite.show()
|
||||
hover_tip.show()
|
||||
|
||||
match _current_state:
|
||||
State.TurningLeft:
|
||||
|
||||
@@ -53,7 +53,7 @@ animations = [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ap6wp")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": 1,
|
||||
"name": &"turned_left",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
@@ -61,7 +61,7 @@ animations = [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wb3bq")
|
||||
}],
|
||||
"loop": true,
|
||||
"loop": 1,
|
||||
"name": &"turned_right",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
@@ -78,7 +78,7 @@ animations = [{
|
||||
"duration": 2.0,
|
||||
"texture": SubResource("AtlasTexture_eom63")
|
||||
}],
|
||||
"loop": false,
|
||||
"loop": 0,
|
||||
"name": &"turning_left",
|
||||
"speed": 20.0
|
||||
}, {
|
||||
@@ -95,7 +95,7 @@ animations = [{
|
||||
"duration": 2.0,
|
||||
"texture": SubResource("AtlasTexture_5h41l")
|
||||
}],
|
||||
"loop": false,
|
||||
"loop": 0,
|
||||
"name": &"turning_right",
|
||||
"speed": 20.0
|
||||
}]
|
||||
@@ -112,7 +112,7 @@ initial_state = 0
|
||||
position = Vector2(0, -4)
|
||||
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)
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="2" unique_id=2086579452]
|
||||
|
||||
@@ -36,6 +36,7 @@ const MAX_WIDTH = TILE_SIZE * 32
|
||||
|
||||
|
||||
@onready var collision: CollisionShape2D = $CollisionShape2D
|
||||
@onready var standing_check_collision: CollisionShape2D = $Area2D/CollisionShape2D
|
||||
@onready var sub_viewport: SubViewport = $SubViewport
|
||||
@onready var platform_sprite: Sprite2D = $Sprite2D
|
||||
@onready var platform_rect: ColorRect = $SubViewport/PlatformRect
|
||||
@@ -50,8 +51,8 @@ func _ready() -> void:
|
||||
|
||||
|
||||
func rebuild_platform() -> void:
|
||||
var shape := collision.shape as RectangleShape2D
|
||||
shape.size.x = platform_width
|
||||
collision.shape.size.x = platform_width
|
||||
standing_check_collision.shape.size.x = platform_width - 4
|
||||
|
||||
var platfor_size := Vector2(platform_width, TILE_SIZE)
|
||||
|
||||
|
||||
@@ -493,6 +493,9 @@ animations = [{
|
||||
resource_local_to_scene = true
|
||||
size = Vector2(16, 7)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bhunq"]
|
||||
size = Vector2(12, 1)
|
||||
|
||||
[node name="AbstractPlatform" type="AnimatableBody2D" unique_id=137546339]
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_426vp")
|
||||
@@ -532,3 +535,10 @@ sprite_frames = SubResource("SpriteFrames_j4n83")
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=175449124]
|
||||
position = Vector2(0, -0.5)
|
||||
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)
|
||||
|
||||
@@ -66,7 +66,7 @@ func _select_animation() -> void:
|
||||
icon_sprite.play(ANIMATION_SELF_MOVING)
|
||||
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
|
||||
icon_sprite.play(ANIMATION_MOVING_PREFIX + direction + suffix)
|
||||
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c42nswehn307r"
|
||||
path="res://.godot/imported/activation_hint.png-d71cb806d34b5813c305102aca86fa65.ctex"
|
||||
uid="uid://dm52nybfe5efa"
|
||||
path="res://.godot/imported/tips.png-54e4ed860039a31b1db7970cfa7caa43.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://images/level/activation_hint.png"
|
||||
dest_files=["res://.godot/imported/activation_hint.png-d71cb806d34b5813c305102aca86fa65.ctex"]
|
||||
source_file="res://images/level/tips.png"
|
||||
dest_files=["res://.godot/imported/tips.png-54e4ed860039a31b1db7970cfa7caa43.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
Reference in New Issue
Block a user