better version of my old raycasting project with shiftlock (Guys, I didn't add lighting but made it compatible with the code. I put the lighting sprite inside.) I made a HTML version of this (scroll down) controls arrow keys WASD keys mouse pointer (press to activate shiftlock, only works when mouse down) HTML website file:///C:/Users/DELL/Downloads/Simple%20Raycast%20Engine%20with%20working%20skybox%20(and%20shiftlock)%20(2).html
I'm working on a project using this method (feel free to use it yourself). Credit goes to @griffpatch for the tutorial, as well as to everyone who has made raycasting simpler. By the way, I drew inspiration for the self-made block names from someone, but I can't remember their name. So if you come across this and feel that I've taken your idea, please understand that I did give credit. I assure you, I haven’t stolen anything.