mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
19 lines
742 B
Plaintext
Executable File
19 lines
742 B
Plaintext
Executable File
[gd_scene load_steps=4 format=3 uid="uid://b5fyj3qbppnyg"]
|
|
|
|
[ext_resource type="Script" uid="uid://cnheej0sxmoxg" path="res://Scripts/Parts/PlayerDetection.gd" id="1_bn35g"]
|
|
[ext_resource type="Script" uid="uid://0vl2fopusjtd" path="res://Scripts/Parts/PickAPathTeleport.gd" id="1_uweq8"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_usqbd"]
|
|
size = Vector2(16, 48)
|
|
|
|
[node name="PickAPathTeleport" type="Node2D"]
|
|
script = ExtResource("1_uweq8")
|
|
|
|
[node name="Hitbox" type="Area2D" parent="."]
|
|
script = ExtResource("1_bn35g")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
|
shape = SubResource("RectangleShape2D_usqbd")
|
|
|
|
[connection signal="player_entered" from="Hitbox" to="." method="on_player_entered"]
|