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

63 lines
1.7 KiB
Plaintext

[gd_scene load_steps=10 format=4]
[ext_resource type="Script" path="res://Scripts/Check.cs" id="1"]
[ext_resource type="Texture2D" path="res://Sprites/Props/warpPad.png" id="2"]
[ext_resource type="Script" path="res://Scripts/Puzzles/KanakoGate.cs" id="3"]
[sub_resource type="AtlasTexture" id="AtlasTexture_8hjg3"]
atlas = ExtResource("2")
region = Rect2(0, 0, 20, 20)
[sub_resource type="AtlasTexture" id="AtlasTexture_h7y72"]
atlas = ExtResource("2")
region = Rect2(20, 0, 20, 20)
[sub_resource type="AtlasTexture" id="AtlasTexture_uv7bs"]
atlas = ExtResource("2")
region = Rect2(40, 0, 20, 20)
[sub_resource type="AtlasTexture" id="AtlasTexture_367ig"]
atlas = ExtResource("2")
region = Rect2(60, 0, 20, 20)
[sub_resource type="SpriteFrames" id="SpriteFrames_bvgh0"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8hjg3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_h7y72")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uv7bs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_367ig")
}],
"loop": true,
"name": &"default",
"speed": 8.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_mxulc"]
[node name="WarpPad" type="Area2D"]
modulate = Color(1, 0.54902, 1, 1)
z_index = -1
position = Vector2(-230, -134)
script = ExtResource("1")
callEvent = true
playerTouch = true
[node name="Sprite" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_bvgh0")
autoplay = "default"
frame_progress = 0.5895329713821411
script = ExtResource("3")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_mxulc")
[connection signal="OnTrigger" from="." to="Sprite" method="JumpBack"]