diff options
author | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-08 17:05:48 +0200 |
---|---|---|
committer | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-08 17:05:48 +0200 |
commit | 516635e22464699fa940ed981a186088352ba734 (patch) | |
tree | 9fcce535afb4b59f6109d95644b23ca5f5873b72 /Nodes/checkpoint.tscn | |
parent | 8b08fec313ac3517e782d946cbd203958801e6be (diff) | |
download | 2023-516635e22464699fa940ed981a186088352ba734.tar.gz 2023-516635e22464699fa940ed981a186088352ba734.tar.bz2 2023-516635e22464699fa940ed981a186088352ba734.zip |
some cleanups
Diffstat (limited to 'Nodes/checkpoint.tscn')
-rw-r--r-- | Nodes/checkpoint.tscn | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Nodes/checkpoint.tscn b/Nodes/checkpoint.tscn index 088da4b..0f76bc6 100644 --- a/Nodes/checkpoint.tscn +++ b/Nodes/checkpoint.tscn @@ -1,22 +1,20 @@ -[gd_scene load_steps=4 format=3 uid="uid://bi1dw58p4tky3"] +[gd_scene load_steps=4 format=3 uid="uid://wkfai2lvnp7n"] [ext_resource type="Script" path="res://Scripts/Checkpoint.gd" id="1_fwyov"] - -[sub_resource type="CanvasTexture" id="CanvasTexture_lawdg"] +[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"] -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") +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("2_0dl7u") + [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] |