Magoninho / raycasting-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raycasting tutorial with Python

demo demo2

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.

How to run

  1. First, you need to have pygame installed
    pip3 install pygame
    
  2. Clone this repository and enter the folder
    git clone https://github.com/Magoninho/raycasting-python
    
    cd raycasting-python
    
  3. Run the project
    python3 main.py
    

Note: if you are on Windows, you may need to replace pip3 with pip and python3 with python

Credits

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

Related

  • raycasting-js - Another version of the raycasting algorithm written in JavaScript by me.

Support

Buy Me A Coffee

License

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.

About


Languages

Language:Python 100.0%