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:
- Read "lodev part 4".
- For an alternative raycaster, check out this Shadertoy with this discussion and this.
- Game Engine Black Book: Wolfenstein 3D