tiled README

The project's README from github.com/mapeditor/tiled. As one markdown file: README.md.

Tiled Map Editor - https://www.mapeditor.org/

About Tiled

Tiled is a general purpose tile map editor for all tile-based games, such as RPGs, platformers or Breakout clones.

Tiled is highly flexible. It can be used to create maps of any size, with no restrictions on tile size, or the number of layers or tiles that can be used. Maps, layers, tiles, and objects can all be assigned arbitrary properties. Tiled's map format (TMX) is easy to understand and allows multiple tilesets to be used in any map. Tilesets can be modified at any time.

Build Packages Build status Snap Translation status Open Source Helpers

Installing Tiled

Tiled is available for all major operating systems and can be downloaded either from GitHub Releases or from itch.io. Most Linux distributions also package Tiled, but these packages are usually out of date so you might prefer to use the AppImage or install Tiled through Flatpak or snap, both of which are official releases.

Signed Releases for macOS and Windows

macOS builds are signed by the maintainer, Thorbjørn Lindeijer, who registered as Apple Developer.

Windows installers are using free code signing provided by SignPath.io, and a free code signing certificate by the SignPath Foundation.

Compiling Tiled

Before you can compile Tiled, you must ensure the Qt (>= 6.2) development libraries have been installed as well as the Qbs build tool:

If you want to build the Python plugin, you additionally need to install the Python 3 development libraries:

Alternatively, you can download Qt here. You will still need to install a development environment alongside and some libraries depending on your system, for example:

The easiest way to compile and run Tiled is to open tiled.qbs in Qt Creator and run the project from there.

From the command-line, you may need to set up Qbs before you can build Tiled (you will also need to make sure the version of Qt you want to use is in your path):

qbs setup-toolchains --detect     # setup toolchains
qbs                               # build Tiled

You can now run Tiled as follows:

qbs run -p tiled

Qt 6

For compiling libtiledquick (not built by default) you'll need to install the Vulkan headers:

Working with Visual Studio 2017

Once Qbs is set up (see previous instructions), it is possible to generate a Visual Studio 2017 project with it that allows you to code, compile and run using that IDE. This can be done with the following command:

qbs generate -g visualstudio2017

Installing Self-Compiled Tiled

To install Tiled, run qbs install from the terminal. By default, Tiled will be installed to <build-dir>/install-root.

The installation prefix can be changed when building Tiled. For example, to use an installation prefix of /usr:

qbs qbs.installPrefix:"/usr"

To install Tiled to a packaging directory:

qbs install --install-root /tmp/tiled-pkg

By default, Tiled and its plugins are compiled with an Rpath that allows them to find the shared libtiled library immediately after being compiled. When packaging Tiled for distribution, the Rpath should be disabled by appending projects.Tiled.useRPaths:false to the qbs command.

tiled (mapeditor/tiled)

Searching Database…

13K ·GitHub
Что это такое?Tiled — это бесплатный универсальный редактор тайловых карт для игр, построенных на тайлах: RPG, платформеров, клонов Arkanoid и тому подобного. Он очень гибкий и работает на всех основных операционных системах.
Это игровой движок или программа, из которой моя игра просто загружает карты?Ни то, ни другое — Tiled это отдельный настольный редактор уровней. Вы рисуете в нём карты и сохраняете их в файлы TMX — формат, специально сделанный простым для понимания, — а ваша тайловая игра потом их читает.
Есть ли ограничения на размер карты, размер тайлов или количество слоёв?Нет — карты могут быть любого размера, без ограничений на размер тайлов и на количество слоёв и тайлов.
Работает ли он на Windows, macOS и Linux?Да, на всех трёх. Сборки для macOS и Windows подписаны — сборки macOS подписывает сам разработчик, а установщики Windows — через SignPath.io.
Могу ли я прикрепить свои данные к картам, слоям, тайлам или объектам?Да — к картам, слоям, тайлам и объектам можно назначать произвольные свойства, так что игровые данные можно хранить прямо в файле карты.
Что представляет собой формат TMX?TMX — это собственный формат карт Tiled, сделанный простым для понимания. Одна карта может использовать несколько тайлсетов, а тайлсеты можно менять в любой момент.
Как проще всего собрать Tiled из исходников?Откройте tiled.qbs в Qt Creator и запустите проект оттуда. Из командной строки выполните qbs setup-toolchains --detect, а затем qbs для сборки; Qbs также умеет генерировать проект Visual Studio 2017.
Официальным загрузкам можно доверять?Да. Сборки macOS подписаны разработчиком Thorbjørn Lindeijer как зарегистрированным Apple Developer, а установщики Windows используют бесплатную подпись кода от SignPath.io с сертификатом SignPath Foundation.
Creator
mapeditor
Size
102.9 MB
Stars
13K
Age
15y
Commits · 90 Days