Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.47 KB

README.md

File metadata and controls

9 lines (5 loc) · 1.47 KB

JS_raycaster

This source code, was written by following the series of tutorials published by Javier Muñiz, through his Youtube Channel (spoken in Spanish), through his Javascript and HTML Raycasting Tutorial Series.

I tried to follow his tutorial series the best I could. However, I used Visual Studio Code for coding, I used Prettier for a way much better formatted code and understanding of it, appart from translating every single variable, function, class and element to English, since is the best language for international coding matters. Finally, I added a lot of comments, based on my understanding about the theory of the tutorial series.

I hope you find this code useful and if you have any possible improvements, don't hesitate on sending me Pull-Requests.

Disclaimer: Basically the whole code works as expected with one weird bug which I haven't been able to track yet. When moving close to a sprite and going forward, the sprite starts moving with the player (which was not supposed to happen). I already re-read the whole original code published here and having no success on finding the logic issue. I hope to eventually track the bug. If you do it first, also make a Pull-Request.