diff options
author | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-09 16:25:05 +0200 |
---|---|---|
committer | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-09 16:25:05 +0200 |
commit | e7845dfe77cafebd30efb660ef56006d5388efb1 (patch) | |
tree | 1f7b96cc93cfa6a8b213b4529e93cef9092bfb95 /Nodes/checkpoint.tscn | |
parent | 1782e704c10c4ddf2955f72dd32ca4d068aec3e0 (diff) | |
parent | f590408e30faa9bbb29969348a4f3b6328eed491 (diff) | |
download | 2023-e7845dfe77cafebd30efb660ef56006d5388efb1.tar.gz 2023-e7845dfe77cafebd30efb660ef56006d5388efb1.tar.bz2 2023-e7845dfe77cafebd30efb660ef56006d5388efb1.zip |
Merge branch 'master' of bunny.garden:jam/gmtk/2022
the commit.
Diffstat (limited to '')
-rw-r--r-- | Nodes/checkpoint.tscn | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Nodes/checkpoint.tscn b/Nodes/checkpoint.tscn index 0f76bc6..5d95f7a 100644 --- a/Nodes/checkpoint.tscn +++ b/Nodes/checkpoint.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=4 format=3 uid="uid://wkfai2lvnp7n"] +[gd_scene load_steps=5 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"] +[ext_resource type="Texture2D" uid="uid://c016iy5c3e472" path="res://Assets/Images/checkpoint_closed_2.png" id="3_ud10i"] -[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 +13,13 @@ 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") +[node name="Sprite2Dopen" type="Sprite2D" parent="."] +texture = ExtResource("2_62gva") + +[node name="Sprite2Dclosed" type="Sprite2D" parent="."] +visible = false +texture = ExtResource("3_ud10i") [connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] |