PLAY HERE FOR POINTER LOCK AND LESS LAG: https://experiments.turbowarp.org/pointerlock/867987702 This took super long to make so please love and favorite! Use the arrow keys to move and your mouse of WASD keys to look around. Collect the stars and don't let the enemies get you! Unfortunately this project is not playable on mobile. You can press M to show the map and enemies.
Huge thanks to @griffpatch for his 3D raycasting tutorial on YouTube! https://youtube.com/playlist?list=PLy4zsTUHwGJKolO9Ko_j6IStFIJnTYBul