javidx9 | Code-It-Yourself! Worms Finale Part #3 (C++) @javidx9 | Uploaded 6 years ago | Updated 12 hours ago
The final part of my big project! Artificial Intelligence is given to the worms so they can destroy each other! Mwa ha ha... Anyway, here an AI state machine is used to allow the AI to manipulate the input controls instead of the player. It's a nice approach as it means the game and physics code is untouched.
Big thanks to MaGetzUb from the OneLoneCoder Discord Server for the track - it's awesome!
And for derivation of the projectile formula, this guy nails it: https://youtu.be/32PiZDW40VI
Source: https://github.com/OneLoneCoder/Javidx9/tree/master/ConsoleGameEngine/BiggerProjects/Worms
Blog: http://www.onelonecoder.com
Twitter: @javidx9
Twitch: javidx9
Discord: https://discord.gg/WhwHUMV
The final part of my big project! Artificial Intelligence is given to the worms so they can destroy each other! Mwa ha ha... Anyway, here an AI state machine is used to allow the AI to manipulate the input controls instead of the player. It's a nice approach as it means the game and physics code is untouched.
Big thanks to MaGetzUb from the OneLoneCoder Discord Server for the track - it's awesome!
And for derivation of the projectile formula, this guy nails it: https://youtu.be/32PiZDW40VI
Source: https://github.com/OneLoneCoder/Javidx9/tree/master/ConsoleGameEngine/BiggerProjects/Worms
Blog: http://www.onelonecoder.com
Twitter: @javidx9
Twitch: javidx9
Discord: https://discord.gg/WhwHUMV