08-25-2016, 03:44 PM
AI written with classes o_O (and objects instantiated every frame, grrr)
That's a pretty good AI.
The code made me wonder whether it would be possible to have a function called "init" or something which gets executed only once at the beginning of the match. It would be very useful for setting up global variables or counters which one can benefit from - say for example - by having the AI only be capable of doing certain attacks no more than a fixed number of times.
That's a pretty good AI.
The code made me wonder whether it would be possible to have a function called "init" or something which gets executed only once at the beginning of the match. It would be very useful for setting up global variables or counters which one can benefit from - say for example - by having the AI only be capable of doing certain attacks no more than a fixed number of times.
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
A-Engine Dev Blog - Update #8: Timeout