retro-rpg/README

29 lines
674 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):
cmake -B build
cmake --build build
The path to a directory containing the assets must be passed on the
command line to run the game:
build/game/game ASSETS-DIR
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 an
executable built from the engine rather than the game if using this
feature.
cmake -B build -D HOTRELOAD=ON
cmake --build build
build/engine/engine assets/