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