Skip to content

zhengisnothere/simple-raycasting-demo

Repository files navigation

simple raycasting demo



  • How To Play

    • make sure that you already downloaded PIL and Pygame
    • run main.py
    • W, A, S, D to move
    • arrow keys to rotate
    • check the 'wall texture' option to turn on the texture
    • walk around and have fun

  • Notes

    • The left panel is a 2d map, and the right panel is settings
    • To increase fps, uncheck the ‘show settings’ option
      • lazy to write a better GUI
    • If an error occurs, please rerun main.py
    • Running the game for the first time may take some time to load