nawarian / dumm

A DOOM (1997) port to PHP using FFI and Raylb.

Home Page:https://codamos.com.br

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DUMM

A php port of the 1993's DOOM based on Amro Ibrahim's DIYDoom.

Requirements

Running the project

Make sure you've placed DOOM1.wad in the root path.

$ ./doom

Current State

Rendering automap + root node

The above demo shows how 2D and 3D rendering of the map currently works.

Textures aren't yet being applied.

Every solid object has a texture (from WAD definitions) and such definitions set a texture name. For each texture name I adopted a random color and cached it. That's how the two columns appear with the same colors on the screen.

Roadmap

  • Read WAD file
  • Render automap
  • Traverse BSP tree
  • Render scene lines
  • Clip solid walls
  • Render scene rectangles
  • Add perspective
  • Draw floor and ceiling
  • Draw textures
  • Move around

About

A DOOM (1997) port to PHP using FFI and Raylb.

https://codamos.com.br

License:GNU General Public License v3.0


Languages

Language:PHP 99.9%Language:Shell 0.1%