123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- Advanced Tiled Loader
- --------------------------------------------------------------------------------------
- CHANGES:
- 0.13.0 (2019/12/17)
- - Updated to Love 11.0
- - Rewrote xml.lua
- - Removed base64 and deflate (already provided by love)
- 0.12.1 (2012-10-31)
- - TileLayer:drawAfterTile() has been reworked into TileLayer:newAfterTileFunction()
- - Arguments for the Map functions that create and add map components directly to the
- map have changed. (Map:newTileLayer(), Map:newObjectLayer(), etc)
- 0.12.0 (2012-10-17)
- - Maps can now be saved with Loader.save()
- - Introduced ATL properties
- 0.11.2 (2012-10-08)
- - TileLayers will now calculate their own viewable tile range.
- - Added parallax support for TileLayers.
- - Added offset support for Maps and TileLayers.
- - You can now load .tmx files without including the extension in the file name.
- - Map.drawRange has been removed and replaced with viewX, viewY, viewScaling, and viewPadding.
- Map:autoDrawRange() and other such interface functions have not changed.
- 0.11.1 (2012-09-26)
- - Added a 'visible' value to Map, ObjectLayer, TileLayer, and Object
- - Created ObjectLayer:toCustomLayer()
- - Created Map:removeLayer()
- 0.11.0 (2012-09-04)
- - Renamed Map.drawList to Map.layerOrder.
- - Renamed Map.drawPosition to Map.layerPosition.
- - Combined Map.tileLayers and Map.objectLayers into one table - Map.layers.
- - The functionality of tileData is now combined with TileLayer.
- - Changed Map.__call to return layers by their name.
- - Created Map.callback() to forward love callbacks to layers.
- - Created Map.swapLayers()
- - Created Map.newCustomLayers() which is a new interface for creating custom layers.
- - Classes now remember their class name.
- - Removed object movement functions to deter the use of objects other than reading data from.
- - Removed the fixPO2 option for the loader.
- - Generally cleaned up the code and made it easier to read.
- - Properties are now automatically converted into proper types (numbers, boolean, string) when loaded.
- - Readme file changed. There is now a new VERSION.txt file for version information.
- 0.10.2 (2012-04-26)
- - Relative paths now fully work. Before, ATL did not like to travel backwards in
- a directory from a map file to reach a tileset.
- 0.10.1 (2012-04-20)
- - Added quit compatibility for love 0.8.0 in the example files
- - AdvTiledLoader can now be correctly required from any subfolder
- - Fixed a bug with map.drawObjects not working
- - Undefined object colors will now appear grey instead of black
- - Added Loader.drawObjects and Loader.useSpriteBatch values. These values will be
- applied to any new map that is loaded.
- - Fixed a bug where the map would be drawn incorrectly if the map's width and height
- were different
- 0.10.0 (2012-04-11)
- - 2d arrays are replaced with a much easier to use grid class.
- - Tiles are now directly inserted into TileLayer.tileData. You no longer have to
- look them up via their ID in Map.tiles.
- - Tile indexes are now the same as their coordinants as shown inside the Tiled.
- - Added support for Tiled version 0.8.0. This includes tile rotation, polygon
- objects, polyline objects, tilemap offset, and tilemap propterties.
- - Moved the object drawing code from object layers to the objects themselves.
- - Added functions tileCopy(), tilePaste(), tileRotate(), tileFlipX(), tileFlipY()
- to TileLayers.
- 0.9.0 (2011-22-11)
- - Advanced Tile Loader now has a wiki page and a github repository!
- - Cleaned up the code quite a bit.
- - Classes are now broken up into individual files rather than grouping similar
- ones into one file.
- - Many identifiers have been changed to be less confusing and more consistent. Now
- camelCase is used to separate words instead of underscores. Internal
- functions and data are now prefixed with an underscore.
- - Sprite batch mode can now be set through the map or through individual tile
- layers. Tile layer settings take precedence.
- - A bug with layer transparency has been fixed.
- - Tile:draw() now accepts parameters for scaling, rotation, and offset.
- - TileLayer:drawAfterTile() now works with multiple functions
- - Forcing a redraw is now automatic when you switch sprite batch modes.
- - Added support for flipped tiles that were introduced in Tiled version 0.7.1
- 0.8.2 (2011-05-09):
- - Tileset images are now cached between maps.
- - Added an option to automatically pad images for PO2. To do this set
- Loader.fix_po2 to true.
- - Changed Map.tl and Map.ol back to their old names. Map.tl and Map.ol remain as
- aliases.
- - Tile layers can now render using sprite batches by setting TileLayer.use_batch
- to true.
- - Added an init.lua file.
- - Removed hardcoded require() paths. Added in global TILED_LOADER_PATH to point
- to the library path.
- - Renamed the TileSet functions getWidth() and getHeight() to tilesWide() and
- tilesHigh().
- 0.8.1 (2011-03-10):
- - Renamed Map.tilelayers and Map.objectlayers to Map.tl and Map.ol respectively.
- - Added function Tile.drawAfterTile()
- - You may now define a draw() function for objects which overrides the default
- drawing routine
- 0.8.0 (2011-02-28):
- - Initial release
- For more information see here:
- http://love2d.org/forums/viewtopic.php?f=5&t=2567
|