|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| .github/ | H | 10-Aug-2021 | - | 570 | 472 |
| dist/ | H | 10-Aug-2021 | - | 1,957 | 1,599 |
| docs/ | H | 10-Aug-2021 | - | 95,049 | 73,149 |
| examples/ | H | 03-May-2022 | - | 1,994 | 1,961 |
| man/ | H | 10-Aug-2021 | - | 246 | 205 |
| mime/ | H | 10-Aug-2021 | - | 21 | 19 |
| qbs/imports/ | H | 10-Aug-2021 | - | 167 | 147 |
| snap/ | H | 10-Aug-2021 | - | 108 | 102 |
| src/ | H | 10-Aug-2021 | - | 180,363 | 122,126 |
| tests/ | H | 10-Aug-2021 | - | 910 | 818 |
| translations/ | H | 10-Aug-2021 | - | 210,248 | 210,048 |
| util/java/ | H | 10-Aug-2021 | - | 20,126 | 13,633 |
| AUTHORS | H A D | 10-Aug-2021 | 6.1 KiB | 377 | 362 |
| CONTRIBUTING.md | H A D | 10-Aug-2021 | 1.9 KiB | 36 | 21 |
| COPYING | H A D | 10-Aug-2021 | 941 | 18 | 15 |
| Doxyfile | H A D | 10-Aug-2021 | 9.1 KiB | 260 | 258 |
| LICENSE.APACHE | H A D | 10-Aug-2021 | 11.1 KiB | 202 | 169 |
| LICENSE.BSD | H A D | 10-Aug-2021 | 1.2 KiB | 21 | 17 |
| LICENSE.GPL | H A D | 10-Aug-2021 | 17.7 KiB | 340 | 281 |
| NEWS.md | H A D | 10-Aug-2021 | 74.1 KiB | 1,358 | 1,210 |
| README.md | H A D | 10-Aug-2021 | 4.7 KiB | 107 | 74 |
| appveyor.yml | H A D | 10-Aug-2021 | 4.6 KiB | 138 | 124 |
| org.mapeditor.Tiled.appdata.xml | H A D | 10-Aug-2021 | 2 KiB | 59 | 56 |
| org.mapeditor.Tiled.desktop | H A D | 10-Aug-2021 | 289 | 14 | 13 |
| tiled.pri | H A D | 10-Aug-2021 | 1.4 KiB | 58 | 50 |
| tiled.pro | H A D | 10-Aug-2021 | 520 | 22 | 16 |
| tiled.qbs | H A D | 10-Aug-2021 | 1.2 KiB | 46 | 40 |
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