What else?
Well, when we create an AI for a game, we keep updating it within each update, not only for the sake of bug fixing, but also adding new features, making it more accurate and more live!
Now, I would recommend you to do two main things. First, go ahead and add more and more tasks, services, and code to it to make your AI decide more, I'm limited by the page count, but don't be limited by your imagination; go ahead and imagine more behaviors and add them to your enemies.
I would also recommend you to gather all what learned so far and try to build a new class that is responsible for spawning enemies; some games have enemies already in their maps, but the majority of the games spawn enemies at runtime, so why not build such a small system? ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access