aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/checkpoint.tscn
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-08 16:43:32 +0200
committerLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-08 16:43:32 +0200
commit78b6db9f792e18d848383856693cff4ef223a10f (patch)
tree4d0385ae8eb8f450a6b2c40c1886a964134d154d /Nodes/checkpoint.tscn
parentbf17c8a97b77cdb783a2751e7ee4a90843a00f06 (diff)
download2023-78b6db9f792e18d848383856693cff4ef223a10f.tar.gz
2023-78b6db9f792e18d848383856693cff4ef223a10f.tar.bz2
2023-78b6db9f792e18d848383856693cff4ef223a10f.zip
checkpoint detection and UI
Diffstat (limited to '')
-rw-r--r--Nodes/checkpoint.tscn22
1 files changed, 22 insertions, 0 deletions
diff --git a/Nodes/checkpoint.tscn b/Nodes/checkpoint.tscn
new file mode 100644
index 0000000..088da4b
--- /dev/null
+++ b/Nodes/checkpoint.tscn
@@ -0,0 +1,22 @@
+[gd_scene load_steps=4 format=3 uid="uid://bi1dw58p4tky3"]
+
+[ext_resource type="Script" path="res://Scripts/Checkpoint.gd" id="1_fwyov"]
+
+[sub_resource type="CanvasTexture" id="CanvasTexture_lawdg"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_f8epl"]
+
+[node name="Checkpoint" type="Node2D"]
+position = Vector2(225, 128)
+script = ExtResource("1_fwyov")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+scale = Vector2(19.32, 19.8)
+texture = SubResource("CanvasTexture_lawdg")
+
+[node name="Area2D" type="Area2D" parent="."]
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
+shape = SubResource("RectangleShape2D_f8epl")
+
+[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]