mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-29 15:49:49 +01:00
3.0 KiB
3.0 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
[Unreleased]
[1.5.1] - 2021-07-09
This release contains two bugfixes:
- Pinned minimum attrs version to usage of
kw_onlywhich was introduced in 18.2.0. See https://github.com/Beefy-Swain/pytiled_parser/pull/39 - Fixed color parsing to be correct. Tiled saves it's colors in either RGB or ARGB format. We were previously parsing RGB correctly, but if an alpha value was present it would be parsed if it were RGBA and so all the values would be offset by one.
[1.5.0] - 2021-05-16
This release contains several new features. As of this release pytiled-parser supports 100% of Tiled's feature-set as of Tiled 1.6.
As of version 1.5.0 of pytiled-parser, we are supporting a minimum version of Tiled 1.5. Many features will still work with older versions, but we cannot guarantee functionality with those versions.
Additions
- Added support for object template files
- Added
Worldobject to support loading Tiled.worldfiles. - Full support for Wang Sets/Terrains
Changes
- The
versionattribute ofTiledMapandTileSetis now a string with Tiled major/minor version. For example"1.6". It used to be a float like1.6. This is due to Tiled changing that on their side. pytiled-parser will still load in the value regardless if it is a number or string in the JSON, but it will be converted to a string within pytiled-parser if it comes in as a float.
[1.4.0] - 2021-04-25
- Fixes issues with image loading for external tilesets. Previously, if an external tileset was in a different directory than the map file, image paths for the tileset would be incorrect. This was due to all images being given relative paths to the map file, regardless of if they were for an external tileset. This has been solved by giving absolute paths for images from external tilesets. Relative paths for embedded tilesets is still fine as the tileset is part of the map file.
[1.3.0] - 2021-03-31
-
Added support for Parallax Scroll Factor on Layers. See https://doc.mapeditor.org/en/stable/manual/layers/#parallax-scrolling-factor
-
Added support for Tint Colors on Layers. See https://doc.mapeditor.org/en/stable/manual/layers/#tinting-layers
[1.2.0] - 2021-02-21
Changed
- Made zstd support optional. zstd support can be installed with
pip install pytiled-parser[zstd]. PyTiled will raise a ValueError explaining to do this if you attempt to use zstd compression without support for it installed. This change is due to the zstd library being a heavy install and a big dependency to make mandatory when most people probably won't ever use it, or can very easily convert to using gzip or zlib for compression.
[1.1.0] - 2021-02-21
Added
- Added support for zstd compression with base64 encoded maps
- Better project metadata for display on PyPi
[1.0.0] - 2021-02-21
Initial Project Release