Tuesday, October 19, 2010

Cleanup

Well path finding working just right. Now as I said i must clean up and go bug hunting.
That aside I have just registered badkid.wikidot.com an will be using this to explain and document the BadKid Game Engine API.

Friday, October 15, 2010

AI and Math

Math
A lot has been done on the Math side of things.
The code base is now over 1800 lines which is a huge jump. Most of this is all the overloads in the math classes and associated type extension IE i.Abs() etc.
Everything I could do generically has been done so and also overloaded this should help keep things cleaner when developing games.

AI
The AI. The basis for the path finding has been done and it's core is generic this will allow reuse of path finding for some not so obvious uses but not to worry I will be building a Factory for building common path finders all you should have to do is provide the parameters and if need be custom delegates to determine certain things.
That aside have tested so far on both 1d and 2d maps so anything else should work too, I now only need to enhance a few things and do some testing on costs such as impassable objects such as walls.
"NB: The path finder operates in either instintive or planned or both modes, this way you can either wait until the optimal path is found or be notified of new decisions as they happen."

Next task after this will be code analysis and plugging of any holes I find. As with everything I've been doing I am making every effort to note which parts are not unique and can be defined elsewhere for different uses and this is really helping the framework to become a thing of elegance.

Friday, October 1, 2010

Docs

Should have put this up earlier but it's here now. This is still incomplete and subject to change.
BadKid Game Engine Documentation