13 lines
434 B
Text
Executable file
13 lines
434 B
Text
Executable file
[gd_scene load_steps=2 format=3 uid="uid://cuvs5tobahf0x"]
|
|
|
|
[ext_resource type="Script" path="res://code/killzone.gd" id="1_nmw5v"]
|
|
|
|
[node name="Killzone" type="Area2D"]
|
|
script = ExtResource("1_nmw5v")
|
|
|
|
[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"]
|