Community post
Gameplay Programming Demo
I had to make a survival bot that plays a simple game for school.
here is the end result Enjoy!
https://www.youtube.com/watch?v=qN88VcTHujA
Max score (~1h30min):

4th Street Bar
Hive-Bar
Browse freely. Sign in only when you want to participate.
Hive-Bar Powered by Hive beta-fdb5b5b
Community post
I had to make a survival bot that plays a simple game for school.
here is the end result Enjoy!
https://www.youtube.com/watch?v=qN88VcTHujA
Max score (~1h30min):

Replies (3)
✅ @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!
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 ;)