Hey guys… i’m making a game with tile maps and i’m using Slick2D, so how can i make the screen scrolling? I’m pretty confused with this :S and basically I don’t know how to do this. ^^
Just have an int specify an offset, and draw the map at that offset.
To scroll the map, you just increase that int at the scroll speed, each frame.
Hum… how can do it? The int and offset, (i know how to make a java int variable), so is the first time I work with a scroll of a tilemap and I don’t know how to do it. :-\