After 3 years since the last video I finally had the courage to make and upload another one. This time, about a subject that I was willing to teach for a long time: Raycasting
If you think this video helped you, you may consider supporting my work by clicking this link:https://www.buymeacoffee.com/magoninho
SOURCE CODE:
https://github.com/Magoninho/raycasti...
Chapters:
0:00 - Intro
0:57 - Introduction
1:43 - How it works
4:02 - Initial setup
9:43 - The Map
21:18 - The Player
39:14 - The Ray class
44:01 - The Raycaster class
58:25 - An introduction to the algorithm
1:01:25 - The Raycasting Algorithm
1:16:10 - Coding Horizontal Intersections
1:27:26 - Coding Vertical Intersections
1:38:07 - Drawing walls
1:45:46 - Final touches
1:53:36 - Ending
Music:
Vexento - Gone
Hyperfun by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/... http://incompetech.com/music/royalty-... http://incompetech.com/
Auf dieser Seite können Sie das Online-Video Raycasting Tutorial (in Python) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Pythonista_ 16 Juli 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 20,208 Mal angesehen und es wurde von 666 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!