diff options
Diffstat (limited to 'Stages/Goal/Goal.tscn')
-rw-r--r-- | Stages/Goal/Goal.tscn | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Stages/Goal/Goal.tscn b/Stages/Goal/Goal.tscn new file mode 100644 index 0000000..2e208ec --- /dev/null +++ b/Stages/Goal/Goal.tscn @@ -0,0 +1,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"] |