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

21 lines
867 B

[gd_scene load_steps=5 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"]
[ext_resource type="Texture2D" uid="uid://1k2r1cdf2a4m" path="res://nodes/npc_factory/visual.png" id="3_ryp62"]
[sub_resource type="CircleShape2D" id="CircleShape2D_nl4mj"]
[node name="npc_factory" type="Node2D"]
script = ExtResource("1_p5cuf")
NPC_SCENE = ExtResource("2_exj6u")
SPAWN_DELAY = 8.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")
[node name="sprite" type="Sprite2D" parent="factory_death"]
texture = ExtResource("3_ryp62")