22 lines
686 B
Plaintext
22 lines
686 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://bsv3h2lpv7h77"]
|
|
|
|
[ext_resource type="Script" uid="uid://bwhxwf77egesx" path="res://virus.gd" id="1_5nuwd"]
|
|
|
|
[node name="Virus" type="Node2D"]
|
|
script = ExtResource("1_5nuwd")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
|
|
|
[node name="SpawningTime" type="Timer" parent="."]
|
|
editor_description = "How long to mature from Spawning to Spawned"
|
|
one_shot = true
|
|
autostart = true
|
|
|
|
[connection signal="timeout" from="SpawningTime" to="." method="_on_mature"]
|