Mazemania is a 3D maze exploration game built with SDL2. Navigate through increasingly challenging levels filled with enemies, and utilize the mini-map for navigation. The game is designed to offer a retro, first-person perspective.
- Levels and Worlds: The game consists of multiple levels, each presenting a unique and progressively challenging maze. As you advance through the levels, the complexity and number of enemies increase.
- Mini-map: A mini-map is available to aid in navigation. You can toggle the mini-map's visibility by pressing the
Esckey to hide it and theEnterkey to display it again. - Player Controls:
- Movement: Use the
W,A,S,Dkeys to move forward, left, backward, and right, respectively. - Rotation: Use the left and right arrow keys to rotate the player's view.
- Movement: Use the
- Enemies: Enemies are present in each level, adding to the challenge. They appear as sprites that grow larger as you approach them. Enemies are spawned at random points in the maze.
- Collision Detection: Currently, the player can pass through enemies. Implementing proper collision detection to prevent this will be a future improvement.
- Player Weapons: The game does not currently feature weapons for the player. Adding this functionality will be part of future development.
- Enemy AI: Basic enemy AI is in place, but further enhancements to make enemies more challenging and intelligent will be considered.
- Start the Game: Launch the game executable to start playing.
- Navigate the Maze: Use the movement and rotation controls to navigate through the maze.
- Mini-map: Use the mini-map to aid in your navigation. Toggle its visibility with the
EscandEnterkeys.
- Players can currently pass through enemies.
- Player weapons have not been implemented.
- SDL2 library
You can also provide brief instructions on how to install SDL2. This could include package manager commands for different operating systems or a link to the SDL2 website for detailed installation instructions.
To install SDL2 library on macOS using Homebrew:
brew install sdl2For Ubuntu or Debian-based Linux distributions:
sudo apt-get install libsdl2-devFor Windows, download the SDL2 development libraries from the official SDL website and follow the installation instructions.
- Clone the repository:
git clone https://github.com/Faithjohnsonpage/Mazemania.git
- Navigate to the project directory and build the project using
make:cd Mazemania/src make - Run the game executable:
./main
- Clean the project:
make cleanIf you'd like to contribute to Mazemania, please fork the repository and use a feature branch. Pull requests are welcome.
Mazemania is licensed under the MIT License.
