1bit-game-jam/prefabs/entities/Teleport.tscn
2023-08-19 15:23:08 +03:00

16 lines
531 B
Text

[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"]