Skip to content

gitGNU/gnu_python-tmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copyright (c) 2014, 2016 Julie Marchant <onpon4@riseup.net>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

========================================================================

tmx is a simple library which reads and writes the Tiled TMX format.


INSTALLATION

First, install the dependencies:

- Python 2 (2.7 or later) or 3 (3.1 or later) <http://www.python.org>
- Six 1.4.0 or later <https://pypi.python.org/pypi/six>

Additionally, if using a version of Python older than 3.4:

- pathlib 1.0 or later <https://pypi.python.org/pypi/pathlib/>

Once you have all the dependencies, install tmx with the included
setup.py script, e.g. with "python setup.py install".

Alternatively, you can just place the "tmx" folder into the same
directory as the Python program that uses it. This can be a good idea
for the distribution of a game, since it reduces the number of
dependencies the user needs to install.


USAGE

Import the tmx library in your project file.  You can then save and
load TMX files with the tmx.TileMap class.

See the documentation found in the doc folder for detailed information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published