Gameplay Programming Demo
I had to make a survival bot that plays a simple game for school.
here is the end result Enjoy!
Max score (~1h30min):
I had to make a survival bot that plays a simple game for school.
here is the end result Enjoy!
Max score (~1h30min):
Looks cool! How does it work?
I used a Behavior Tree to map out all possible actions.
The behavior tree picks na actions according to the data the AI receives and the current state of the AI.Only the objects in the yellow cone are visible to the AI i referred to this a "the data".
For example if he sees an enemy he calculates if he can kill it with the amo remaining
based on that data the ai chooses to either run or kill the enemy.
The yellow dots are items that you can pick up e.g. Thrash, Medkit(for health), Food(for energy) or a Pistol(for shooting the enemies :P) The goal was to survive the longest and kill the most enemies so these items are esensial. If you have any further questions about my work feel free to ask ;)
✅ @hustlerwolf, I gave you an upvote on your post! Please give me a follow and I will give you a follow in return and possible future votes!
Thank you in advance!