Click to See Complete Forum and Search --> : Platform Games-Action Tracking


Paddy Notemaker
01-14-2005, 07:32 PM
Dear all,

Do you remember the 2D Super Mario games that were brought out on gameboy all those years ago? I am trying to make something similar. My main problem is getting the screen to follow the movable picture, the main character. Does anyone have any suggestions as to how I could get the applet screen to follow the main character as he moves through the game (perhaps keep the right border of the 500 pixel wide applet screen 250 pixels ahead of the main character. Thanks to all.

ray326
01-15-2005, 05:16 PM
Java Developers Journal has had some gaming articles in the last few years. Check out their archives. Also, since this problem is a generic side-scroller game problem, the strategies are outlined and solved in a number of how-to game books. Finally, hit google with "side scroller" source and lots of good stuff turns up, including some Java source.