diff options
Diffstat (limited to 'Nodes/checkpoint.tscn')
-rw-r--r-- | Nodes/checkpoint.tscn | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Nodes/checkpoint.tscn b/Nodes/checkpoint.tscn index 458f121..5d95f7a 100644 --- a/Nodes/checkpoint.tscn +++ b/Nodes/checkpoint.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=4 format=3 uid="uid://wkfai2lvnp7n"] +[gd_scene load_steps=5 format=3 uid="uid://wkfai2lvnp7n"] [ext_resource type="Script" path="res://Scripts/Checkpoint.gd" id="1_fwyov"] [ext_resource type="Texture2D" uid="uid://2jhabylue78s" path="res://Assets/Images/checkpoint_open.png" id="2_62gva"] +[ext_resource type="Texture2D" uid="uid://c016iy5c3e472" path="res://Assets/Images/checkpoint_closed_2.png" id="3_ud10i"] [sub_resource type="CircleShape2D" id="CircleShape2D_q6wen"] radius = 17.0294 @@ -14,7 +15,11 @@ script = ExtResource("1_fwyov") [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource("CircleShape2D_q6wen") -[node name="Sprite2D" type="Sprite2D" parent="."] +[node name="Sprite2Dopen" type="Sprite2D" parent="."] texture = ExtResource("2_62gva") +[node name="Sprite2Dclosed" type="Sprite2D" parent="."] +visible = false +texture = ExtResource("3_ud10i") + [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] |