21 lines
700 B
Plaintext
21 lines
700 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cyumvt28wwf28"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/kill_zone.gd" id="1_vfalm"]
|
|
|
|
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_6667c"]
|
|
|
|
[node name="KillZone" type="Area2D"]
|
|
collision_mask = 2
|
|
script = ExtResource("1_vfalm")
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
wait_time = 0.6
|
|
one_shot = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("WorldBoundaryShape2D_6667c")
|
|
debug_color = Color(1, 0.012597, 0.0137024, 0.42)
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|