WASD, right/ left arrow and up / down keys to move. Can you help me in keeping the soldier in one place? Right now, the soldier always follows you (I meant the position that he was placed before he walked to you). I don't know why, I didn't code him to do that.
Thanks for crafter214 for his raycaster project : https://scratch.mit.edu/projects/165110697/ It was a big inspiration and I took some code from that. As you stop walking, the soldier walks to you for some seconds then he stomps his feet at his fixed position. When you move, he runs right back at his position with the light's speed. Use this link for less lag : https://turbowarp.org/599930998 Also, thanks @balmerazTSC for the script in the scratch discussion to help me fix the fish eye effect, but it turned out having a small curve effect, can you help me with that? Link to discussion : https://scratch.mit.edu/discuss/topic/198549/?page=1#post-1977344 Fish eye effect fixed in 10/1/2022.