15 lines
482 B
Plaintext
15 lines
482 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://ddnw180bowxn2"]
|
|
|
|
[ext_resource type="Script" uid="uid://db8xxth4oa6xg" path="res://scripts/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"]
|