Mayhem 2 - Raspberry Pi
Mayhem 2 is a multiplayer (2 - 4) flight shooter with a really simple objective - destroy your opponents before they destroy you.
Destroy your opponents by shooting them, you win when all other players have run out of lives.
Your ship has limited fuel which will run down when you boost, if you run out you will be unable to control your ship, to refuel, land on any flat surface.
You can protect yourself from attack using your shields which will stop all bullets, be careful though your shields run down quickly and you wont be able to boost while your shields are on.
Powerups are dropped (sometimes) when a player is destroyed (by either crashing or being shot) and when collected will give you a temporary boost.
Levels 1-3 are the original game levels, all other levels are new to Mayhem 2.
DCA are anti spaceship guns which will fire at the player if they get too close.
Wall collision can be turned off for new players to get used to the controls and playing the game.
Default joystick controls, assume an "xbox / ps like" joystick:
|Stick 1||Left / Right|
|Button 1 (A)||Thrust|
|Button 2 (B)||Shield|
|Button 6 (RB)||Fire|
Joystick controls can changed using the menu.
If joysticks are connected, they are used as the players controls, if there are less than 4 joysticks connected, keys are used for the rest of the players in order:
|2||left||right||pad del||pad 0||pad enter|
Mayhem 2 needs at least 96MB of RAM dedicated to the GPU, you can set this using
Advanced Options >
Memory Split > change value to 96
You will need to download the game and install libdumb1 dependency
sudo apt-get install libdumb1 git clone -b allegro5 https://github.com/martinohanlon/mayhem-pi
cd mayhem-pi ./start.sh
Compiling Mayhem2 will need allegro 5 to be compiled and installed - this will take a while, particularly on a Pi 0/1.
cd mayhem-pi ./compile_allegro5
To compile Mayhem2.
To compile Mayhem2 to distribute, including static linking to the allegro libraries. Modify compile_allegro to include the additional flags, recompile and use Makefilestatic.
make clean make -f Makefilestatic
To install Mayhem to the 'ports' section of RetroPie:
cd /home/pi/RetroPie/roms/ports sudo apt-get install libdumb1 git clone -b allegro5 https://github.com/martinohanlon/mayhem-pi
- beta - compiles, runs, ongoing mods
- 0.1 - added new levels and features
- 0.2 - seamless warping across map edges
- 0.4 - menu changes + new 'option' (powerup) changes
- 0.5 - timing and powerups are now dropped when players explode
- 0.6 - new thrust powerup + bug fix
- 0.7 - level structure changes
- 0.8 - joystick control
- 0.9 - new powerup icons
- 0.10 - screen resolution & perf improvements
- 0.11 - screen rendering, timing changes, bug fix
- 0.12 - allegro5 migration