aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/checkpoint.tscn
blob: 458f12141642fcfcb1a3515ddaba158724e2907f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[gd_scene load_steps=4 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"]

[sub_resource type="CircleShape2D" id="CircleShape2D_q6wen"]
radius = 17.0294

[node name="Checkpoint" type="Node2D"]
script = ExtResource("1_fwyov")

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

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_q6wen")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_62gva")

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