A 2D game written in C++.
View the provided specification for more detail.
- CMake (https://cmake.org)
- Ruby (https://www.ruby-lang.org/)
- Tiled (https://www.mapeditor.org)
- Ninja (https://ninja-build.org)
- vcpkg (https://docs.microsoft.com/cpp/build/vcpkg)
To install these, run ./deps.sh.
When building inside a Git repository, the build defaults to -DCMAKE_BUILD_TYPE=Debug,
otherwise it will use -DCMAKE_BUILD_TYPE=Release. Specify either of these explicitly
to override the default behaviour.
Build using
cmake -G Ninja -B ./build -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build ./build -vor alternatively, simply run
rake buildStart the application using
./build/tolor alternatively, run
rake run| Action | Control |
|---|---|
| Player Movement | W, A, S, D |
| Attack Selection | ↑ (Up Arrow), ↓ (Down Arrow), ⏎ (Return) |
| Talk to Character | E, Mouse |
| Show Inventory | I |
| Show Quests | ⇥ (Tab) |
| Debug Mode | H |
| Open Menu | Esc |