Original Post
I am in the process of creating a small game (tile based), but at the moment I am only using a single layer, which is for the tile map.
The tile map is simply a 2d array that holds information about each tile, i.e walkable / non - walkable etc. All other sprites are simply draw on top of the map
Anyway, how do a code for multiple layers in a game so that I can have a background and foreground. If possible could someone point me in the direction of tutorial or a basic code snippet to get me started.
Cheers in advance