lightweight C++14 parser for Tiled tmx files
Add support for class
tags from @mpartel
Adds support for image repeat flags from @mx-payn Performance improvements when using large tilesets from @mateusvmv (see #125)
Small patch to correct the version number in meson.build
Adds support for Zstd compressed maps. This requires linking to Zstd which can be configured with CMake and meson - see readme for more information.
Updated build now allows linking to external pugixml and zlib libraries instead of the included source files for pugixml and miniz. Either set the option USE_EXTLIBS
to TRUE
when configuring CMake or meson, or add -DUSE_EXTLIBS
to your compiler command and link the libraries as appropriate.
New TMX features:
Map
property parallaxorigin
Layer
property parallaxoffset
(thanks @ironpowertga )Layer
property colortint
New Library features:
Vector2<T>
, Rectangle<T>
and Colour
types easierFixes:
Adds support for the new class
tag in Tiled 1.9 thanks to @ironpowertga while remaining compatible with older versions of Tiled.
Fixes access to int properties with type object
(from @ironpowertga)
Also includes animation fixes in the @sfml demo from @devchild and pkgconfig files for cmake from @timschwartz
Tilesets now parse the objectalign
attribute, and can be read with TileSet::getObjectAlignment()
Properties now have factory functions thanks to @Eren121
Tilesets correctly return whether or not they expect a transparency colour
Added in the previous release but missed from the notes (sorry!) is a meson build script thanks to @King_DuckZ
Fix parsing objects with flip flags on them Warn when using currently unsupported zstd compression in a map file Replace some dynamic_cast with static_cast to enable non-rtti builds (@Sakarah)
Adds accessor to tile set image size from @u3shit Tile::imagePosition now accounts for margin and padding values from @PPTGamer
This release adds support for Object
templates and infinite maps. See the readme for more info on how to use these features. The release also includes a fix from @dajack05 for string properties which contain multiple lines of text.