Limited Space
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
ld54/nodes/npc_factory/npc_factory.tscn

17 lines
661 B

[gd_scene load_steps=4 format=3 uid="uid://b2hu7kxvxvgc1"]
[ext_resource type="Script" path="res://nodes/npc_factory/npc_factory.gd" id="1_p5cuf"]
[ext_resource type="PackedScene" uid="uid://dvx48q5ecyxjs" path="res://nodes/npc/npc.tscn" id="2_exj6u"]
[sub_resource type="CircleShape2D" id="CircleShape2D_nl4mj"]
[node name="npc_factory" type="Node2D"]
script = ExtResource("1_p5cuf")
NPC_SCENE = ExtResource("2_exj6u")
SPAWN_DELAY = 2.0
[node name="factory_death" type="Area2D" parent="." groups=["factory_death"]]
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="factory_death"]
shape = SubResource("CircleShape2D_nl4mj")