Friday, March 27, 2009
Starting the arduous task of developing an AI.... The general concept is easy. Just need to add an invisible rect to all my NPCs and do a collision check for my player sprite. When it does, it'll know which direction to start running. Whats tricky is to let it know what paths are possible (jump across a ledge, up a ledge, down.. blah blah blah) That should take some time... I mean, I can quickly make one, but probably not one that won't lag the crap out of my game.