The map is made with a 2 dimensional array, and is made with a chunk loading system.
I basically just don't know how to make the screen follow the player
Posted 26 August 2012 - 03:43 PM
Edited by kd7tck, 26 August 2012 - 03:45 PM.
Posted 27 August 2012 - 01:45 AM
Posted 27 August 2012 - 03:17 PM
Posted 28 August 2012 - 09:54 AM
One thing I've used (with Swing/AWT) to handling level scrolling is Graphics.translate: http://docs.oracle.c...l#translate(int, int).
The rest is just arithmetic (calculating a centered position) and handling level boundaries.