No description
- C++ 95.3%
- Shell 1.7%
- CMake 1.6%
- C 1.4%
DMD
Prerequisites
- C++ compiler: (GCC, Clang, etc.)
- CMake: Download here
- Make
- Development packages:
libXcursor-devellibXinerama-devel- (On Ubuntu/Debian, use
libxcursor-devandlibxinerama-dev)
Example (Fedora/RHEL)
sudo apt-get install cmake make g++ libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev libasound2-dev
Example (Ubuntu/Debian)
sudo apt-get install cmake make g++ libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev libasound2-dev
Clone the Repository
git clone https://github.com/dlbuchholz/dmd.git
cd dmd
Initialize Submodules
Run:
git submodule sync
git submodule update --init --recursive
Build and Run
cmake -S . -B build
cmake --build build
./build/dmd
as a single one-liner:
cmake -S . -B build && cmake --build build && ./build/dmd
Linux Packaging Script
A script is included to build the application for Linux.
Make the Script Executable
chmod +x build-linux.sh
Run the Script
./build-linux.sh
What the Script Does
The script performs the following steps automatically:
- Removes old build artifacts
- Configures the project using CMake in Release mode
- Builds the
dmdexecutable - Installs the binary into a temporary
dist/directory - Creates a compressed tar archive:
dmd-linux.tar.gz
Extracting the Package
After building, extract the archive with:
tar -xzf dmd-linux.tar.gz
Run the executable:
./dmd
Music and Soundtrack Credits
This game uses music and audio assets from the following creators and sources.
Music:
- "Puzzle Game 2" by Eric Matyas Soundimage.org
- "Underwater" Music by Cleyton Kauffman - https://soundcloud.com/cleytonkauffman
Sound effets:
- SoundPack01 by WobbleBoxx Workshop
Happy hacking!