Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.83 KB

0020-2020-03-18.md

File metadata and controls

26 lines (19 loc) · 1.83 KB

18 Mar 2020

I've been working on lots of bits of projects lately but not keeping my journal updated.

Recent stuff is raycasting, like the old Wolf3D.

So far, the basic raycaster is working in JS, with texture mapping. Some code is borrowed from here with a little bit of help from here.

Other ideas:

  • Understand the maths and algorithms better
  • Sprites - better to post-draw them using a Z buffer or
  • Better map generator
  • Highlight blocks by targeting with the mouse
  • Collision detection
  • Trying to build a simpler version (like the "265 lines" example) - this has sort of started here
  • Translucency, i.e. collect translucent layers in an array, until hitting a solid, then render backwards.
  • Mirrors, similar to translucency
  • "Skybox" (actually more like a window)
  • Mouse locking

Other notes: