What is a good way to place enemies into a map?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Idleman

Technically in Godot, what is a good way to place enemies into a map? My basic thinking is that manually spread the enemies in the map. Then I think if the player and the camera is not near the enemies, it will be a waste in performance for all those off-screen enemies nodes in the tree. Is there a way only activate nodes when the player or camera is near by? Since I am new to making games, what is the best practise to place enemies into a map? Thank you.

:bust_in_silhouette: Reply From: klaas

have a look at this thread … its basicly the same issue


Thank you, this information definitely helps to get a better understanding.

Idleman | 2020-07-28 06:58