VERSION 5.0 KB

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