15 lines
481 B
Plaintext
15 lines
481 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://c5raqc2u1lqho"]
|
|
|
|
[ext_resource type="Script" uid="uid://b5qfx55wasng2" path="res://scenes/killzone.gd" id="1_xlapc"]
|
|
|
|
[node name="Killzone" type="Area2D"]
|
|
collision_mask = 2
|
|
script = ExtResource("1_xlapc")
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.6
|
|
one_shot = true
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|