how to implement a game character task queue
- by Stephen Lee Parker
I'm working on a personal game engine in C# and need to give certain characters / sprites responses to conditions or certain patterns that they follow and since these patterns will be repeated over and over for other characters / sprites, I don't want to tie the patterns to the character / sprite. I will likely want to define the conditions / actions in level data files...
I plan to use this for platformers, space shooters, and pack man like games... Almost an extenable AI system.
Any suggestions on how this can be implemented?