Controls:
ESDF to move and strafe
Horizontal arrows to look around
How it was made
Take the player position plus a multiplication of their angle and see if that spot had a wall,
if it does take that distance and scale it on to the screen.
Change the angle a little each time and put it at a different x coordinate.
That's the basics, i'm not great at explaining it and its hard to understand without graphics.
Take apart the code, I insist! I think I removed all the weird comments that I wrote when I got
bored, but no promises. :3
Video modes
Big is wide but doesn't draw very far.
Med is what you think it is.
Small is well small, but draw farther.
De-bug stretches the engine as far as it goes. ( from what I've seen, try making it go further! )
[Please log in to post a comment]