summaryrefslogtreecommitdiff
path: root/Stages/Goal
diff options
context:
space:
mode:
Diffstat (limited to 'Stages/Goal')
-rw-r--r--Stages/Goal/Goal.tscn12
-rw-r--r--Stages/Goal/goal.gd2
2 files changed, 7 insertions, 7 deletions
diff --git a/Stages/Goal/Goal.tscn b/Stages/Goal/Goal.tscn
index 2e208ec..bb5de7b 100644
--- a/Stages/Goal/Goal.tscn
+++ b/Stages/Goal/Goal.tscn
@@ -1,6 +1,7 @@
-[gd_scene load_steps=10 format=3 uid="uid://erjn41cnb3ha"]
+[gd_scene load_steps=11 format=3 uid="uid://erjn41cnb3ha"]
[ext_resource type="Script" path="res://Stages/Goal/goal.gd" id="1_olpsd"]
+[ext_resource type="PackedScene" uid="uid://bj8j72hwnt6mo" path="res://animated_sprite.tscn" id="2_5nfwa"]
[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"]
@@ -8,7 +9,7 @@
[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"]
+[sub_resource type="SpriteFrames" id="SpriteFrames_mhkqq"]
animations = [{
"frames": [{
"duration": 1.0,
@@ -35,15 +36,14 @@ animations = [{
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7oxgv"]
-size = Vector2(8, 2)
+size = Vector2(4, 2)
[node name="Goal" type="Node2D"]
script = ExtResource("1_olpsd")
-[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
+[node name="AnimatedSprite" parent="." instance=ExtResource("2_5nfwa")]
texture_filter = 1
-sprite_frames = SubResource("SpriteFrames_0huga")
-frame_progress = 0.883034
+sprite_frames = SubResource("SpriteFrames_mhkqq")
centered = false
[node name="Area2D" type="Area2D" parent="."]
diff --git a/Stages/Goal/goal.gd b/Stages/Goal/goal.gd
index 6854d7a..934a071 100644
--- a/Stages/Goal/goal.gd
+++ b/Stages/Goal/goal.gd
@@ -2,7 +2,7 @@ extends Node2D
func _ready() -> void:
- $AnimatedSprite2D.play("default")
+ $AnimatedSprite.play("default")
func _on_area_2d_body_entered(body: Node2D) -> void: