PC version of the Amiga game Mayhem
C C++ Other
Pull request Compare This branch is 101 commits ahead of devpack:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
allegro5
assets
.clang-format
.gitignore
Degrade_pour_fixpal.bmp
FIXPAL.EXE
LICENSE
Makefile
Mayhem2.cpp
Mayhem2.exe
README.md
allegro-5.2.dll
allegro_acodec-5.2.dll
allegro_audio-5.2.dll
allegro_compatibility.cpp
allegro_compatibility.h
allegro_font-5.2.dll
allegro_image-5.2.dll
allegro_main-5.2.dll
allegro_primitives-5.2.dll
allegro_ttf-5.2.dll
battle_sequence.cpp
battle_sequence.h
collision.cpp
collision.h
command.cpp
command.h
game_mgr.cpp
game_mgr.h
intro_sequence.cpp
intro_sequence.h
mapping_joy.cpp
mapping_joy.h
mapping_key.cpp
mapping_key.h
mayhem.jpg
mayhem2.jpg
menuhandler.cpp
menuhandler.h
netgame.cpp
netgame.h
option.cpp
option.h
physics.cpp
physics.h
platform_data.cpp
platform_data.h
player_info.cpp
player_info.h
player_input.cpp
player_input.h
player_view.cpp
player_view.h
soundfx.cpp
soundfx.h
start.sh
ticktimer.cpp
ticktimer.h
utils.cpp
utils.h
vaisseau_data.cpp
vaisseau_data.h
vaisseau_gfx.cpp
vaisseau_gfx.h
xc.cpp
xc.h

README.md

Mayhem 2

Martin O'Hanlon (martin@ohanlonweb.com)

http://www.stuffaboutcode.com

Description

Mayhem 2 is a multiplayer (2 - 4) flight shooter with a really simple objective - destroy your opponents before they destroy you.

Mayhem game image

Mayhem was originally released as Public Domain / Shareware on the Amiga. It was ported to the PC in 2002 by devpack and released onto github in 2011 github.com/devpack/mayhem.

Video of the original amiga game.

Video of Mayhem 2

Martin O'Hanlon picked it up from code.google.com/p/mayhem (New BSD License) and with the help of Lee Taylor added new levels and features. Jonas Karlsson migrated Mayhem 2 to allegro 5.

Video of a new level in Mayhem 2

Mayhem 2 has also been ported to run on the Raspberry Pi - github.com/martinohanlon/mayhem-pi.

Blog post

Gameplay

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.

Options

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.

Controls

Joysticks

Default joystick controls, assume an "xbox / ps like" joystick:

Control Action
Stick 1 Left / Right
Button 1 (A) Thrust
Button 2 (B) Shield
Button 6 (RB) Fire

Joystick controls can changed using the menu.

Keys

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:

Key Left Right Shield Thrust Fire
1 z x c v g
2 left right pad del pad 0 pad enter
3 b n , m l
4 y u o i 0

Install

Download the zip file from https://github.com/martinohanlon/mayhem/archive/master.zip, open and copy mayhem-master to a folder.

Run

Double click Mayhem2.exe in the mayhem-master folder.

You maybe presented with message saying that the application was stopped from starting as it is unrecognised, click 'more info' and and choose 'run anyway'.

Compile

Mayhem2 is compiled with mingw, use mingw32-make to build, paths in the MakeFile may need to be changed.

Version history

  • 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

Contributors

Anthony Prieur

Martin O'Hanlon

Lee Taylor

Jonas Karlsson