diff options
author | perivesta <> | 2023-07-09 15:29:18 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-09 15:29:18 +0200 |
commit | 5b1a456768f0072e10577f52914898473385e72b (patch) | |
tree | 35882879395be199fcd7eb871baea0c6d57a48de /Nodes/checkpoint.tscn | |
parent | bcccb662566481ea5956e40086e894aa8543f665 (diff) | |
download | 2023-5b1a456768f0072e10577f52914898473385e72b.tar.gz 2023-5b1a456768f0072e10577f52914898473385e72b.tar.bz2 2023-5b1a456768f0072e10577f52914898473385e72b.zip |
add sprites
Diffstat (limited to 'Nodes/checkpoint.tscn')
-rw-r--r-- | Nodes/checkpoint.tscn | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Nodes/checkpoint.tscn b/Nodes/checkpoint.tscn index 0f76bc6..458f121 100644 --- a/Nodes/checkpoint.tscn +++ b/Nodes/checkpoint.tscn @@ -1,10 +1,10 @@ [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"] +[ext_resource type="Texture2D" uid="uid://2jhabylue78s" path="res://Assets/Images/checkpoint_open.png" id="2_62gva"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_f8epl"] -size = Vector2(32, 32) +[sub_resource type="CircleShape2D" id="CircleShape2D_q6wen"] +radius = 17.0294 [node name="Checkpoint" type="Node2D"] script = ExtResource("1_fwyov") @@ -12,9 +12,9 @@ script = ExtResource("1_fwyov") [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] -shape = SubResource("RectangleShape2D_f8epl") +shape = SubResource("CircleShape2D_q6wen") [node name="Sprite2D" type="Sprite2D" parent="."] -texture = ExtResource("2_0dl7u") +texture = ExtResource("2_62gva") [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] |