30 lines
783 B
Plaintext
30 lines
783 B
Plaintext
RETRO RPG
|
|
|
|
Dependencies:
|
|
|
|
- libxml2 :: https://gitlab.gnome.org/GNOME/libxml2/
|
|
- SDL2 :: https://www.libsdl.org/
|
|
|
|
The build is handled with CMake (version 3.10 or later). You can
|
|
specify a path to a directory containing the assets when configuring
|
|
the build; alternatively it will default to the "assets" directory
|
|
under the root of the project.
|
|
|
|
cmake -Bbuild # -DASSETS_DIR="..."
|
|
cmake --build build
|
|
|
|
You should then be able to run the game:
|
|
|
|
build/game/game
|
|
|
|
|
|
Hot Reloading
|
|
|
|
The engine supports hot reloading of the game code via the F5 key; set
|
|
the HOTRELOAD option on in CMake to enable it. You also have to run
|
|
the engine executable rather than the game one if using this feature.
|
|
|
|
cmake -Bbuild -DHOTRELOAD=ON
|
|
cmake --build build
|
|
build/engine/engine
|