moved decoding of layers up to TileMap
[2dworld.git] / tiledtmxloader3 / tiledtmxloader / __init__.py
blobed4b67b5e08da85ddbe3fb3aa5a12e80f625858b
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
4 """
5 TileMap loader for python for Tiled, a generic tile map editor
6 from http://mapeditor.org/ .
7 It loads the \*.tmx files produced by Tiled.
10 """
11 __all__ = ["tmxreader"]
13 from . import tmxreader
14 try:
15 from . import helperspygame
16 __all__.append("helperspygame")
17 except:
18 pass
20 try:
21 from . import helperspyglet
22 __all__.append("helperspyglet")
23 except:
24 pass
27 # Versioning scheme based on: http://en.wikipedia.org/wiki/Versioning#Designating_development_stage
29 # +-- api change, probably incompatible with older versions
30 # | +-- enhancements but no api change
31 # | |
32 # major.minor[.build[.revision]]
33 # |
34 # +-|* 0 for alpha (status)
35 # |* 1 for beta (status)
36 # |* 2 for release candidate
37 # |* 3 for (public) release
39 # For instance:
40 # * 1.2.0.1 instead of 1.2-a
41 # * 1.2.1.2 instead of 1.2-b2 (beta with some bug fixes)
42 # * 1.2.2.3 instead of 1.2-rc (release candidate)
43 # * 1.2.3.0 instead of 1.2-r (commercial distribution)
44 # * 1.2.3.5 instead of 1.2-r5 (commercial distribution with many bug fixes)
46 __revision__ = "$Rev$"
47 __version__ = tmxreader.__version__
48 __author__ = 'DR0ID @ 2009-2011'
51 #-------------------------------------------------------------------------------