Friday, November 19, 2010

Maps


Exams over - time for an update. Cleaned up the loading code so it's easier to add objects to the game without having to recompile, and also wrote code for maps - analogous to backgrounds in Little Fighter 2.  However, maps will be more interactive and dynamic.

The syntax differs slightly from the LF2 background data files - filled rectangular areas now use rgba values to specify the colour, and pngs are able to be used for the images. The transparency tag hasn't been implemented, as you may use pngs if you want to have transparent areas in a layer

TODO list for maps:

  • parallax scrolling (with camera)
  • animation
  • layers that render over characters
  • linking map data with objects (bounds, friction, etc.)
Other things to do in the near future are opoints and interaction.  That's all for tonight.



Azriel~

No comments:

Post a Comment