summaryrefslogtreecommitdiff
path: root/Stages/Goal/Goal.tscn
blob: 2e208ec54727ada4864eafe7f7b68621c6bd774c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[gd_scene load_steps=10 format=3 uid="uid://erjn41cnb3ha"]

[ext_resource type="Script" path="res://Stages/Goal/goal.gd" id="1_olpsd"]
[ext_resource type="Texture2D" uid="uid://dfd06s7jdcoh2" path="res://Stages/Goal/Assets/goal-01.png" id="2_fv7o7"]
[ext_resource type="Texture2D" uid="uid://cc5dx2nohiq0e" path="res://Stages/Goal/Assets/goal-02.png" id="3_55ojj"]
[ext_resource type="Texture2D" uid="uid://cllb8yhfyxo2c" path="res://Stages/Goal/Assets/goal-03.png" id="4_vme42"]
[ext_resource type="Texture2D" uid="uid://uskgsop6wmha" path="res://Stages/Goal/Assets/goal-04.png" id="5_h2yew"]
[ext_resource type="Texture2D" uid="uid://crfbfk6vwy5vg" path="res://Stages/Goal/Assets/goal-05.png" id="6_iyyas"]
[ext_resource type="Texture2D" uid="uid://rrwn2c4rwgvx" path="res://Stages/Goal/Assets/goal-06.png" id="7_dvlyc"]

[sub_resource type="SpriteFrames" id="SpriteFrames_0huga"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_fv7o7")
}, {
"duration": 1.0,
"texture": ExtResource("3_55ojj")
}, {
"duration": 1.0,
"texture": ExtResource("4_vme42")
}, {
"duration": 1.0,
"texture": ExtResource("5_h2yew")
}, {
"duration": 1.0,
"texture": ExtResource("6_iyyas")
}, {
"duration": 1.0,
"texture": ExtResource("7_dvlyc")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_7oxgv"]
size = Vector2(8, 2)

[node name="Goal" type="Node2D"]
script = ExtResource("1_olpsd")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_0huga")
frame_progress = 0.883034
centered = false

[node name="Area2D" type="Area2D" parent="."]
collision_layer = 1024

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(19, 21)
shape = SubResource("RectangleShape2D_7oxgv")

[node name="GoalCenter" type="Marker2D" parent="."]
position = Vector2(19, 14)

[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]