Using a 2D int array you are able to create a nice little map.
Send an int in,
Have an image come out.
What more could you want?
This tutorial is creating the map by loading the images.
Part 2 will be player and collision. Part 3 will be the camera.
You don't need to follow the side-scrolling route like me, you could always go top-down (Final Fantasy VI style).
Tile1:
[ Ссылка ]
Tile2:
[ Ссылка ]
Player:
[ Ссылка ]
Ещё видео!