it works
This commit is contained in:
14
scenes/killzone.tscn
Normal file
14
scenes/killzone.tscn
Normal file
@@ -0,0 +1,14 @@
|
||||
[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"]
|
||||
Reference in New Issue
Block a user