Thursday, December 27, 2007

Updates

I suppose I shall institute this new thing where I update you on how much I have done in the day.

Today, I learned that JOGL is out of my immediate reach.
Today, I added NPC sensitivity to the collision detection.
Today, I fixed the NPC sprite transparency issue.
Today, I modified the size of the steps my player takes. This makes my game look a little smoother, a little nicer.
Today, I made it so that my player is drawn within the same heights as the NPCs (it was different for some reason).

The night is still young, so I'm sure there is more to do. I want to create the thread that controls the NPC movement. Basically, I can split that into two parts. One that controls which image is displayed, and one that controls it's actual movement. In my old code, that was actually two separate methods. Now, though, it is combined. So, I need to, basically, copy the Thread that is used for moving my player, and instead pass NPC characteristics to it. Also, I am keeping it in the main class, so I'll have to take everything in my player class and incorporate it into the Thread. It's gonna be a little work.

Add to that the fact that I need to program the sensitivity of detecting which NPCs are near. And then I need to take from those a random one to update.

No comments: