mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 23:48:11 +00:00
added the game
This commit is contained in:
23
Scenes/Prefabs/LevelObjects/Checkpoint.tscn
Normal file
23
Scenes/Prefabs/LevelObjects/Checkpoint.tscn
Normal file
@@ -0,0 +1,23 @@
|
||||
[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"]
|
||||
Reference in New Issue
Block a user