A 2D game built with SFML where you navigate through a haunted museum.
- CMake (>= 3.16)
- C++23 compatible compiler
- X11 development libraries
- OpenGL development libraries
- OpenAL development libraries
- Vorbis and FLAC audio codecs
- FreeType library
On Ubuntu/Debian, you can install the required dependencies with:
sudo apt-get update && sudo apt-get install -y \
build-essential \
cmake \
libx11-dev \
libgl1-mesa-dev \
libudev-dev \
libopenal-dev \
libvorbis-dev \
libflac-dev \
libfreetype-dev- Clone the repository:
git clone https://github.com/vmillet-dev/museum-nightmare.git
cd museum-nightmare- Create and navigate to the build directory:
mkdir build && cd build- Configure and build the project:
cmake ..
makeAfter building, you can run the game from the build directory:
./sfml_game- Z: Move Up
- S: Move Down
- Q: Move Left
- D: Move Right
- ESC: Exit Game
The project uses CMake for build configuration and depends on the following libraries (automatically fetched during build):
- SFML 2.6.2: Graphics, window management, and input handling
- toml++ 3.4.0: Configuration file parsing
- spdlog 1.12.0: Logging system
- The game requires a working X11 display server to run
- Controller support is available and can be configured in the game settings