2025-05-13 19:22:01 +08:00

58 lines
1.9 KiB
Plaintext

[gd_scene load_steps=7 format=4]
[ext_resource type="Texture2D" path="res://Sprites/TILES.png" id="1"]
[ext_resource type="TileSet" path="res://Sprites/Tileset.tres" id="2"]
[ext_resource type="Script" path="res://Scripts/Check.cs" id="3"]
[ext_resource type="Script" path="res://Scripts/Puzzles/KanakoGate.cs" id="4"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nqgef"]
size = Vector2(8, 29)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_okp5w"]
size = Vector2(40, 16)
[node name="KanakoGate" type="Sprite2D"]
position = Vector2(-18, -92)
texture = ExtResource("1")
offset = Vector2(0, -24)
region_enabled = true
region_rect = Rect2(460, 300, 40, 60)
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(0, -24)
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-16, 15.5)
shape = SubResource("RectangleShape2D_nqgef")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(16, 15.5)
shape = SubResource("RectangleShape2D_nqgef")
[node name="Static" type="TileMap" parent="."]
modulate = Color(1, 0.576471, 1, 1)
show_behind_parent = true
position = Vector2(0, 4)
tile_set = ExtResource("2")
format = 2
layer_0/tile_data = PackedInt32Array(-1, 524288, 29, -65536, 524288, 29, -65537, 524288, 29, -131072, 524288, 29)
[node name="PlayerBlocker" type="StaticBody2D" parent="Static"]
position = Vector2(0, -12)
[node name="PlayerBlocker" type="CollisionShape2D" parent="Static/PlayerBlocker"]
position = Vector2(0, 5)
shape = SubResource("RectangleShape2D_okp5w")
[node name="Event" type="Area2D" parent="Static"]
position = Vector2(0, -12)
script = ExtResource("3")
callEvent = true
[node name="Check" type="CollisionShape2D" parent="Static/Event"]
position = Vector2(0, 5)
shape = SubResource("RectangleShape2D_okp5w")
script = ExtResource("4")
[connection signal="OnTrigger" from="Static/Event" to="Static/Event/Check" method="EventTrigger"]