mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
24 lines
857 B
Plaintext
24 lines
857 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://h7ys3yw5jvx3"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dq58glgwf2l3" path="res://Assets/Sprites/UI/CheckpointIcon.png" id="1_r4dhm"]
|
|
[ext_resource type="Script" uid="uid://dtdc4oaygllfa" path="res://Scripts/Parts/Checkpoint.gd" id="1_vrjdu"]
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_r4dhm"]
|
|
normal = Vector2(-1, 0)
|
|
|
|
[node name="Checkpoint" type="Node2D"]
|
|
script = ExtResource("1_vrjdu")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
position = Vector2(0, -8)
|
|
texture = ExtResource("1_r4dhm")
|
|
|
|
[node name="Hitbox" type="Area2D" parent="."]
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
|
visible = false
|
|
shape = SubResource("WorldBoundaryShape2D_r4dhm")
|
|
|
|
[connection signal="area_entered" from="Hitbox" to="." method="on_area_entered"]
|