101 lines
2.9 KiB
Plaintext
101 lines
2.9 KiB
Plaintext
[gd_scene format=3 uid="uid://pef7xb0ldte1"]
|
|
|
|
[ext_resource type="Script" uid="uid://c18s1qo5mxbl" path="res://flag.gd" id="1_amn8n"]
|
|
[ext_resource type="Texture2D" uid="uid://b6ob1fiacyt20" path="res://assets/images/Tilemap/Checkpoint (Flag Idle)(64x64).png" id="1_l1sgl"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_amn8n"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(0, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ukulb"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(64, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ts4f7"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(128, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v7xjy"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(192, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pcbnv"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(256, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rssqg"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(320, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_esaoi"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(384, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uwdpu"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(448, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_y1htw"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(512, 0, 64, 64)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_d5jik"]
|
|
atlas = ExtResource("1_l1sgl")
|
|
region = Rect2(576, 0, 64, 64)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_bfqd6"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_amn8n")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ukulb")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ts4f7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_v7xjy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pcbnv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_rssqg")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_esaoi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uwdpu")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_y1htw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_d5jik")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 20.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_l1sgl"]
|
|
size = Vector2(12, 26)
|
|
|
|
[node name="Flag" type="Area2D" unique_id=2062054144]
|
|
script = ExtResource("1_amn8n")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=2107470626]
|
|
texture_filter = 1
|
|
scale = Vector2(0.75, 0.75)
|
|
sprite_frames = SubResource("SpriteFrames_bfqd6")
|
|
autoplay = "default"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1390936308]
|
|
position = Vector2(6, 6)
|
|
shape = SubResource("RectangleShape2D_l1sgl")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|