forked from bitcraft/pytmx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog
121 lines (105 loc) · 5.66 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Map loader for TMX Files
Leif Theden, "bitcraft", 2012-2014
v3.20.x - for python 2.7 and 3.3+
Tested with Tiled 0.11.0.
Released under the LGPL v3
===============================================================================
New in 3.20:
core: option to disable duplicate property checks: allow_duplicate_names
core: keyword arguments correctly passed with util_* loaders
core: new convenience methods to simplify drawing
core: more abstract loading of images
core: tile images can be reloaded after tmx data is loaded
core: new keyword: "invert_y", to support the pyglet loader
pysdl2: support image loading with pysdl2 (experimental)
pyglet: support image loading with pyglet (experimental)
New in 3.19:
core: new iterator for tiledmap
core: objects/shapes load the rotation value
core: polygon/polyline and all other shapes return coordinates as float
core: pytmx respects tiles that specify external image: stored in metadata
core: tileoffsets are loaded stored in tileset.offset: tuple: (x, y)
core: logging module used everywhere
pygame: tilesets can be loaded even if they don't specify an image
pygame: loader has new logger...more descriptive error messages
pygame: loading of tiles that specify an external image is supported
pygame: new optional arguments for load_pygame():
load_all: bool (False is default), load al tiles, even unused ones
optional_gids: list/tuple, also load the gids in this list
'gid' refers to the gid found in tiled
New in 3.18:
pygame: removed option for force a colorkey for a tileset
pygame: pixelalpha is now enabled by default
pytmx: Maps can now be loaded from pytmx.TiledMap.fromstring(xml_string)
pytmx: pygame is no longer a required dependency (to be tested!)
core: Sphinx documentation created
New in 3.17:
loader: removed legacy load_tmx function: just call TiledMap() instead
loader: added test to correct tilesheets that include non-tile graphics
pytmx: polygon objects now return absolute coordinates in points
pytmx: tiled properties are now available through dictionary "properties"
core: tested with the mana world maps...it works!
demo: simplified the demo/test for easier readability
test: maps now render and are scaled inside the window to show entire map
New in 3.16:
*** jumped to version 3.x to reflect new python 3.3 compatibility ***
all: python 3 support
pep8: changed method/function names to lowercase with underscore spacing
pep8: modified various style infractions
core: simplified file structure
core: added __all__ to some modules for less clutter
demo: added ability to resize preview window
test: mouse clicks now advance the test
test: added ability to resize preview window
test: tile objects are drawn (previously supported, but not shown in test)
utils: renamed buildDistributionRects to build_rects
pytmx: bumped up gid limit from 255 to 65535 (16-bit)
pytmx: removed get_objects(), replaces with objects property
pytmx: removed get_draw_order(), replaced with visible_layers property
loader: added ImageLayer support
loader: minor documentation fixes
loader: small optimizations
loader: possible [ultra minor] optimization: using iterator on etree to load
New in .15:
loader: new getTileLayerByName(name) method
loader: python 2.6 support
loader: fixed issue where objects with tile gid did not load properties
loader: polygon and polyline objects
loader: new lookup methods use iterators
loader: loading function moved into classes
loader: data/images can be reloaded on the fly
loader: uses etree for faster xml parsing
New in .14:
loader: Fixed gid lookup for "buildDistributionRects"
loader: Added useful output to a few classes "__repr__"
loader: Fixed a gid mapping issue that broke rotated tiles
pygame: fixed colorkey handling
pygame: correctly handles margins and spacing between tiles in tilesets
pygame: b/c of changes, now correctly renders tiled's example maps
added scrolling demo
New in .13:
loader: Renamed "get_tile_image" to "getTileImage"
loader: Removed duplicates returned from getTilePropertiesByLayer
loader: Modified confusing messages for GID errors
loader: Fixed bug where transformed tile properties are not available
loader: No longer loads metadata for tiles that are not used
loader: Reduced tile cache to 256 unique tiles
loader: Removed 'visible' from list of reserved words
loader: Added 'buildDistributionRects' and maputils module
loader: Added some misc. functions for retrieving properties
pygame: Smarter tile management made tile loading cache useless; removed it
pygame: pygame.RLEACCEL flag added when appropriate
New in .12:
loader: Fixed bug where tile properties could contain reserved words
loader: Reduced size of image index by only allocating space for used tiles
New in .11:
loader: Added support for tileset properties
loader: Now checks for property names that are reserved for internal use
loader: Added support for rotated tiles
pygame: Only the tiles that are used in the map will be loaded into memory
pygame: Added support for rotated tiles
pygame: Added option to force a bitsize (depth) for surfaces
pygame: Added option to convert alpha transparency to colorkey transparency
pygame: Tilesets no longer load with per-pixel alphas by default
pygame: Colorkey transparency should be correctly handled now
===============================================================================