• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H10-Aug-2021-570472

dist/H10-Aug-2021-1,9571,599

docs/H10-Aug-2021-95,04973,149

examples/H03-May-2022-1,9941,961

man/H10-Aug-2021-246205

mime/H10-Aug-2021-2119

qbs/imports/H10-Aug-2021-167147

snap/H10-Aug-2021-108102

src/H10-Aug-2021-180,363122,126

tests/H10-Aug-2021-910818

translations/H10-Aug-2021-210,248210,048

util/java/H10-Aug-2021-20,12613,633

AUTHORSH A D10-Aug-20216.1 KiB377362

CONTRIBUTING.mdH A D10-Aug-20211.9 KiB3621

COPYINGH A D10-Aug-2021941 1815

DoxyfileH A D10-Aug-20219.1 KiB260258

LICENSE.APACHEH A D10-Aug-202111.1 KiB202169

LICENSE.BSDH A D10-Aug-20211.2 KiB2117

LICENSE.GPLH A D10-Aug-202117.7 KiB340281

NEWS.mdH A D10-Aug-202174.1 KiB1,3581,210

README.mdH A D10-Aug-20214.7 KiB10774

appveyor.ymlH A D10-Aug-20214.6 KiB138124

org.mapeditor.Tiled.appdata.xmlH A D10-Aug-20212 KiB5956

org.mapeditor.Tiled.desktopH A D10-Aug-2021289 1413

tiled.priH A D10-Aug-20211.4 KiB5850

tiled.proH A D10-Aug-2021520 2216

tiled.qbsH A D10-Aug-20211.2 KiB4640

README.md

1Tiled Map Editor - https://www.mapeditor.org/
2
3About Tiled
4-------------------------------------------------------------------------------
5
6Tiled is a general purpose tile map editor for all tile-based games, such as
7RPGs, platformers or Breakout clones.
8
9Tiled is highly flexible. It can be used to create maps of any size, with no
10restrictions on tile size, or the number of layers or tiles that can be used.
11Maps, layers, tiles, and objects can all be assigned arbitrary properties.
12Tiled's map format (TMX) is easy to understand and allows multiple tilesets to
13be used in any map. Tilesets can be modified at any time.
14
15[![Build Status](https://api.travis-ci.com/mapeditor/tiled.svg?branch=master&status=passed)](https://travis-ci.com/github/mapeditor/tiled)
16[![Build status](https://ci.appveyor.com/api/projects/status/ceb79jn5cf99y3qd/branch/master?svg=true)](https://ci.appveyor.com/project/bjorn/tiled/branch/master)
17[![Snap](https://snapcraft.io/tiled/badge.svg)](https://snapcraft.io/tiled)
18[![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=52019)](https://www.bountysource.com/trackers/52019-tiled?utm_source=52019&utm_medium=shield&utm_campaign=TRACKER_BADGE)
19[![Translation status](https://hosted.weblate.org/widgets/tiled/-/shields-badge.svg)](https://hosted.weblate.org/engage/tiled/?utm_source=widget)
20[![Open Source Helpers](https://www.codetriage.com/mapeditor/tiled/badges/users.svg)](https://www.codetriage.com/mapeditor/tiled)
21
22About the Qt Version
23-------------------------------------------------------------------------------
24
25Tiled was originally written in Java. In 2008, work began to develop a faster,
26better looking, and easier-to-use version of Tiled based on the Qt framework.
27This decision was made as the Qt framework has a greater feature set than is
28offered by the standard Java libraries.
29
30
31Compiling
32-------------------------------------------------------------------------------
33
34Before you can compile Tiled, you must ensure the Qt (>= 5.6) development
35libraries have been installed as well as the Qbs build tool:
36
37* On Ubuntu/Debian: `sudo apt install qt5-default libqt5svg5 qttools5-dev-tools zlib1g-dev qtdeclarative5-dev qtdeclarative5-private-dev qbs`
38* On Fedora:        `sudo dnf builddep tiled`
39* On Arch Linux:    `sudo pacman -S qt qt5-tools qbs`
40* On macOS with [Homebrew](https://brew.sh/):
41  + `brew install qbs`
42  + `brew link qt5 --force`
43
44If you want to build the Python plugin, you additionally need to install the
45Python 3 development libraries:
46
47* On Ubuntu/Debian: `sudo apt install python3-dev`
48* On Windows: https://www.python.org/downloads/windows/
49
50Alternatively, you can [download Qt here](https://www.qt.io/download-qt-installer).
51You will still need to install a development environment alongside and some
52libraries depending on your system, for example:
53
54* On Ubuntu/Debian: `sudo apt install build-essential zlib1g-dev libgl1-mesa-dev`
55* On Windows:       Choose "MinGW" Qt version, or install Visual Studio
56* On macOS:         Install Xcode
57
58The easiest way to compile and run Tiled is to open `tiled.qbs` in Qt Creator
59and run the project from there.
60
61From the command-line, you may need to set up Qbs before you can build Tiled
62(you will also need to make sure the version of Qt you want to use is in your
63path):
64
65    qbs setup-toolchains --detect     # setup toolchains
66    qbs setup-qt --detect             # setup Qt (not needed since Qbs 1.13)
67    qbs                               # build Tiled
68
69You can now run Tiled as follows:
70
71    qbs run -p tiled
72
73Qt 6
74-------------------------------------------------------------------------------
75
76For compiling libtiledquick you'll need to install the Vulkan headers:
77
78* On Unbuntu/Debian: `sudo apt install libvulkan-dev`
79
80### Working with Visual Studio 2017
81
82Once Qbs is set up (see previous instructions), it is possible to generate a
83Visual Studio 2017 project with it that allows you to code, compile and run
84using that IDE. This can be done with the following command:
85
86    qbs generate -g visualstudio2017
87
88Installing
89-------------------------------------------------------------------------------
90
91To install Tiled, run `qbs install` from the terminal. By default, Tiled will
92be installed to `<build-dir>/install-root`.
93
94The installation prefix can be changed when building Tiled. For example, to use
95an installation prefix of  `/usr`:
96
97    qbs qbs.installPrefix:"/usr"
98
99To install Tiled to a packaging directory:
100
101    qbs install --install-root /tmp/tiled-pkg
102
103By default, Tiled and its plugins are compiled with an Rpath that allows them
104to find the shared *libtiled* library immediately after being compiled. When
105packaging Tiled for distribution, the Rpath should be disabled by appending
106`projects.Tiled.useRPaths:false` to the qbs command.
107