Files
National-Day/scene/entities/end.tscn
T
2026-10-07 17:58:02 +08:00

101 lines
2.9 KiB
Plaintext

[gd_scene format=3 uid="uid://dy0a0gyebvqy6"]
[ext_resource type="Script" uid="uid://bvs3jagxfk5px" path="res://scene/code/end.gd" id="1_33ljv"]
[ext_resource type="Texture2D" uid="uid://c3oghf5xp7e5b" path="res://Free/Items/Checkpoints/End/End (Pressed) (64x64).png" id="2_4pau4"]
[ext_resource type="Texture2D" uid="uid://dmij0r1cx7oln" path="res://Free/Items/Checkpoints/End/End (Idle).png" id="3_urp6o"]
[sub_resource type="AtlasTexture" id="AtlasTexture_cdpov"]
atlas = ExtResource("2_4pau4")
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cn7iw"]
atlas = ExtResource("2_4pau4")
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0k6ae"]
atlas = ExtResource("2_4pau4")
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cgfx8"]
atlas = ExtResource("2_4pau4")
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hpg6b"]
atlas = ExtResource("2_4pau4")
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0fe4t"]
atlas = ExtResource("2_4pau4")
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qoom7"]
atlas = ExtResource("2_4pau4")
region = Rect2(384, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_06ckt"]
atlas = ExtResource("2_4pau4")
region = Rect2(448, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ouws0"]
atlas = ExtResource("3_urp6o")
region = Rect2(0, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_rby76"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_cdpov")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cn7iw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0k6ae")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cgfx8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hpg6b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0fe4t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qoom7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_06ckt")
}],
"loop": 0,
"name": &"END",
"speed": 25.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ouws0")
}],
"loop": 1,
"name": &"IDLE",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b1ow3"]
size = Vector2(45, 42)
[node name="End" type="Area2D" unique_id=174290455]
collision_mask = 3
script = ExtResource("1_33ljv")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1942427552]
sprite_frames = SubResource("SpriteFrames_rby76")
animation = &"END"
frame = 7
frame_progress = 1.0
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1518240541]
position = Vector2(-0.5, 11)
shape = SubResource("RectangleShape2D_b1ow3")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]