Skip to content

martinohanlon/mayhem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mayhem 2

Martin O'Hanlon (martin@ohanlonweb.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

About

PC version of the Amiga game Mayhem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.6%
  • C++ 19.9%
  • Other 0.5%