Archive for February, 2009

Working with AI

Wednesday, February 25th, 2009

I have been working on a lot of things. Mostly on learning AI implementation. This week I have been working on learning all the simple AI behaviors (I’m very new to this stuff) and finally got it all working last night. I had been stuck on getting my wondering behavior working. Turns out that while cleaning my code, I had left an old variable laying around. I hate it how this small details give you such headaches.

In the process of learning all this stuff, I have found a new love for AI. The complexities of it and the subtle things that make it great even on the most simple games. The book I’m reading is http://ai4g.com/. It’s is certainly a great book though I wish the pseudo code was a bit better as far as what each function needs to pass and return. I guess their idea is to make it as open as possible, the downside is that if you’re learning, you’re left wondering.

(more…)

The XNA Clock

Thursday, February 19th, 2009

The last few months I have been working on XNA. The great thing about the XNA is that it wraps the DirectX interface in some really accessible functions. The downside is that it becomes slightly less flexible. For instance, there is not a function to draw a single textureless rectangle. This is obviously not the end of the world. The solution is quite simple, you can just use a 1×1 blank .png and size is to the rectangle size needed.

I actually found working with the XNA very comfortable and fun. C# is very easy to pick up if you already know Java and C++. I’ve been working in my own project, and helping others with little things here and there. I created this little splash screen in just 30 mins.

Just a logo with a clock like animation. I’ll put more details on my actual project later on!