Ferby's Blog
These are just some random ramblings, because I have nothing better to do with my time.

Sunday, September 30, 2007

Blitting

By John, Annie, Lucy and the Woof-Woofs at 2:21 PM

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.

 
Category:

0 comments so far.

Something to say?