Thursday, March 13, 2008

Flee State Discarded & Small AI Optimizing/Bug Fix!

Well, after trying out the result of the flee state I noticed that once the AI agents attempts to flee they are always killed almost instantly as the maps really are far too small to have any “safe” locations. Now that I’ve removed the flee state however they seem to survive slightly longer.

I’ve also optimized the AI a little to make the game more fun and I’ve finally found and fixed two AI bugs where, one where they ran into a wall an wasted all energy by attacking it and one where they kept walking back and forth on the same spot for about 1 - 3 sec every once in a while. There is however one additional bug witch I still haven’t solved, this bug is very rare (witch makes it harder to locate) but it may crash the game on occasions, it seems that this bug only appear sometimes when the player is standing in the top left corner of the map and one or more of the AI agents are targeting him.

Now I’ve just got the last 3 weapon effects, the AI version of the curse effect and the remaining basic sprites left to do in order to reach the minimum requirements.

Screenshot_of_the_day_002.jpg