Last stretch
This commit is contained in:
parent
466a154972
commit
68271c94ed
13 changed files with 338 additions and 99 deletions
16
prefabs/entities/Teleport.tscn
Normal file
16
prefabs/entities/Teleport.tscn
Normal file
|
@ -0,0 +1,16 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://crulyoxqqw74r"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/entities/Teleport.cs" id="1_luklc"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ogixu"]
|
||||
|
||||
[node name="Teleport" type="Area2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 4
|
||||
monitorable = false
|
||||
script = ExtResource("1_luklc")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_ogixu")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="OnPlayerEntered"]
|
Loading…
Add table
Add a link
Reference in a new issue