Sunday, September 30, 2007
Blitting
So I messed around with the graphics today and changed the way the game is drawn into a blitting strategy. This allows for me to not use Java's default way of handling graphics. So instead of a GUI way to doing things I am now using more of a game way of doing things. Read here for more information on what I used.
I also reworked the fps counter so be more accurate (counting frames rather than guessing based on time spent updating and drawing). I have also fixed the collision so that npcs will not run over you. Plus a few other minor code changes.
I'm getting between 100-120 fps now which is more than enough, but I'm still having the movement bug that Nate noticed. Sorry not sure what that is about yet.