0 votes

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.

in Engine by (244 points)

1 Answer

0 votes
Best answer

Hi,
have a look at this thread ... its basicly the same issue

https://godotengine.org/qa/77979/how-stop-nodes-from-getting-processed-when-they-are-not-used

by (3,932 points)
selected by

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.