Raycasting Tutorial (in Python)

Pubblicato il: 16 luglio 2024
sul canale di: Pythonista_
20,208
666

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/


In questa pagina del sito puoi guardare il video online Raycasting Tutorial (in Python) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Pythonista_ 16 luglio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 20,208 volte e gli è piaciuto 666 spettatori. Buona visione!