ft: improved npc spawning logic

This commit is contained in:
djaidjai committed 2026-01-17 13:00:54 +01:00
1 parent 1a532a5afb
commit e4b3919b81
10 files changed
+75 -33

No files matched your search

@@ -0,0 +1,13 @@
extends SpawnManager2D
@export var cam: Camera2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
spawnRange = cam.get_viewport_rect()
_spawn_minimum()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.