PrasoonPratham / boomcaster

A simple doom-esque game built with pygame and a custom coded raycaster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How does this work?

  • It runs on the simple principle of ray casting
  • Raycasting is the process of shooting a vector or ray from the characters perspective and rendering the exact points that the vectors hit. The rest of the area is left out blank which allows to provide a 3d effect
  • It involves basic trigonometric calculations

Setup

  • To run the file:
  • enable the env or have pygame installed
  • run python3 boom.py

Preview

raycaster

About

A simple doom-esque game built with pygame and a custom coded raycaster


Languages

Language:Python 82.0%Language:HTML 15.8%Language:C 1.8%Language:JavaScript 0.2%Language:CSS 0.2%Language:PowerShell 0.0%Language:Shell 0.0%