blob: 0f76bc65a9c77946a3ff99f6d319ac2b2ddbea93 (
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://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="2_0dl7u"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f8epl"]
size = Vector2(32, 32)
[node name="Checkpoint" type="Node2D"]
script = ExtResource("1_fwyov")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_f8epl")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_0dl7u")
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
|