Killzone
This commit is contained in:
13
scenes/killzone.tscn
Normal file
13
scenes/killzone.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cxkr1ot3mkts1"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/killzone.gd" id="1_dutdq"]
|
||||
|
||||
[node name="killzone" type="Area2D"]
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_dutdq")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
Reference in New Issue
Block a user