This is the repository with all the code that will be used on my new Raycasting tutorial on my YouTube channel. This project is very important because I really wanted to share this knowledge with everyone. The resources available online that explain this topic are not good in my opinion, so I decided to pick the best parts of each one and make The Definitive Raycasting Guide.
- First, you need to have
pygame
installedpip3 install pygame
- Clone this repository and enter the folder
git clone https://github.com/Magoninho/raycasting-python
cd raycasting-python
- Run the project
python3 main.py
Note: if you are on Windows, you may need to replace
pip3
withpip
andpython3
withpython
This software was made possible with the help of:
- Ray-Casting Tutorial For Game Development And Other Purposes by F. Permadi
- Gustavo Pezzi from pikuma.com
- javidx9 from One Lone Coder
- Daniel Shiffman from The Coding Train
- Lode's Computer Graphics Tutorial
- raycasting-js - Another version of the raycasting algorithm written in JavaScript by me.
This project is licensed under the terms of the MIT license. The MIT License is a permissive license that is short and to the point. It lets people do anything they want with your code as long as they provide attribution back to you and don’t hold you liable.