I updated my Tileset class and wrote a Level class, capable of rendering a preview of an arbitrary layer in a level. Note that especially the Level class is very basic and neither have error handling or checksum checking or stuff like that built-in.
Source code:
http://www.jazz2online.com/junk/sour...lass.Level.php
http://www.jazz2online.com/junk/sour...ss.Tileset.php
Thanks to Neobeo/J2NSM for the source code their file format documentation.
Last edited by Stijn; Sep 11, 2011 at 01:26 PM.
|