solarus-games / solarus-quest-editor

This repository was moved to GitLab: https://gitlab.com/solarus-games/solarus-quest-editor
Other
97 stars 30 forks source link
solarus zelda

Solarus Quest Editor logo

Build Status

Solarus Quest Editor is a graphical user interface to create and modify quests for the Solarus engine.

This software is written in C++ with Qt.

License

The source code of Solarus Quest Editor is licensed under the terms of the GNU General Public License v3.

Images used in the editor are licensed under Creatives Commons Attribution-ShareAlike 3.0 (CC BY-SA 3.0). http://creativecommons.org/licenses/by-sa/3.0/

See the license.txt file for more details.

Compilation instructions

To build Solarus Quest Editor, you need:

We always keep branch dev of Solarus Quest Editor compatible with branch dev of Solarus.

With Qt Creator

In Qt Creator, you can load the Solarus Quest Editor project by opening the CMakeLists.txt file. You might need to tell Qt Creator the path to the CMake binary. If Solarus is installed in a standard paths known by CMake, it should directly work. Otherwise, you need to set CMake variables indicating the location of the Solarus includes and libraries (see the example in the command-line section below).

With the command line

If you don't want to use Qt Creator, you can build the project from the command line using CMake.

Configure:

$ cd solarus-quest-editor
$ mkdir build
$ cd build
$ cmake ..

If CMake fails to find Solarus include directories or libraries, for example because they are not properly installed in standard paths, you can explictly indicate their location instead:

$ cmake -DSOLARUS_INCLUDE_DIR=/path/to/solarus/include -DSOLARUS_GUI_INCLUDE_DIR=/path/to/solarus/include -DSOLARUS_LIBRARY=/path/to/solarus/libsolarus.so -DSOLARUS_GUI_LIBRARY=/path/to/solarus/libsolarus-gui.so ..

Build:

$ make

Run:

$ ./solarus-quest-editor