Hi All,
This is a general question regarding the construction of 2D platform game maps/levels.
Is there a preferred way to go about this?
I have envisaged a couple of ways...
I wrote a maploader unit in AppGameKit (sorry for using the word unit... Delphi parlance hard to shake!). It loads sprite images and determines their position, size, physics attributes, etc from a text file and places them on the screen.
So, I could:
A) Load discrete images into the scene and position them to make a level, or
B) Load a background image, with the platforms pre-drawn, then create invisible sprites as platforms and place them on the pre-drawn platforms, like so:
Is there better/alternative/preferred ways of creating platform levels?
Thanks in advance!