Use WASD to move — forward, back, left, right, usual. Use the left and right arrow keys to turn your view. That’s the setup. And it’s remixable, flip the layout, make it work how you like.
Basic 3d fps by @Blacktom is where most of the code is from but rest from me. hello