Skip to content
/ dumm Public

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

License

Notifications You must be signed in to change notification settings

nawarian/dumm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published