dmmotor — Freedoom Phase 1

dmmotor

A 90s first-person shooter, rewritten in PHP, running in your browser.

PLAY

The game

Industrial mazes, overrun bases, key card doors, secret switches, lifts and traps: dmmotor plays Freedoom Phase 1 (four episodes of nine levels) and Freedoom Phase 2 (32 levels), with their monsters, weapons, sounds and music. Save games, automap, keyboard, mouse, gamepad or touch controls.

The engine is a PHP port of the source code id Software released under the GPL v2 (linuxdoom-1.10): BSP rendering of walls, floors and ceilings, sprites, monster AI, weapons, doors and lifts, translated file by file. It runs on JumPHP, PHP compiled to WebAssembly: nothing to install.

Screenshots

A zombie shot down with the pistol in the first level
A zombie shot down with the pistol in the first level
An open door, zombies coming
An open door, zombies coming
The start of the second level, outdoors
The start of the second level, outdoors
A fireball thrown by an imp
A fireball thrown by an imp
The end of level stats: kills, items, secrets, time
The end of level stats: kills, items, secrets, time

Controls

Start playing

Licences and credits

Engine: id Software's source code released under the GNU GPL v2, ported to PHP for dmmotor; the code of this port is under the same licence and its source is public.

Game content: Freedoom (levels, graphics, sounds), BSD licence, © the contributors to the Freedoom project.

dmmotor is not affiliated with or endorsed by id Software, ZeniMax or Bethesda.

FAQ

Do I need to install anything?

No: the game runs in the browser, on a computer or a phone.

Is it free?

Yes, completely: the engine is GPL and the Freedoom content is BSD.

Is there music?

Yes: the Freedoom songs are played live by an FM synthesizer written in PHP, like the sound cards of the time.

Which games are included?

Freedoom Phase 1 (four episodes) and Freedoom Phase 2 (32 levels), chosen at start.