NO COLLISIONS YET!!! This runs very performant in vanilla scratch at the cost of warping textures. - Hold M to open map of the chunk - WASD movement, use mouse drag to move camera or arrow keys.
I made this a few months ago, but stopped developing it, so in case I never continue development, here's a demo if someone wants to build off of it. Sometimes the camera bugs when the frame-rate drops a lot, maybe someone can fork this with a fix. Credits: @KryptoAlt for triangle renders (STTF v2.0 & Azex) @CodingBio for 3D engine tutorial (which aided in rotation matrices and sorting) Story: Randomly returned to scratch for no reason, because I was bored and wanted to see how much I could optimize scratch to run an entire full length 3D game. Future optimizations include occlusion culling and chunking. Also I may attempt to optimize the floor to use less triangles if possible, or at least use some sort of process to make it use 2D points instead of 3D to generate the triangles to lower processing time. Feel free to fork the project! Just make sure it's a remix or gives clear visible credit.