Improved and adapted 3D Scratch 3 graphics engine - you need a remix to use the code! Use arrows or WASD to move. Use space to jump.
Thanks to Brad-Unfinished for the original 3D Scratch 2 graphics engine. Outside of full-screen mode, variables can look strange.