Raycasting Tutorial (in Python)

Publié le: 16 juillet 2024
sur la chaîne: 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/


Sur cette page du site, vous pouvez voir la vidéo en ligne Raycasting Tutorial (in Python) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Pythonista_ 16 juillet 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 20,208 fois et il a aimé 666 téléspectateurs. Bon visionnage!