Skip to content

👾 A Ray-casting 2D render engine based on python3 and pyglet. Inspired in retro FPS games.

License

Notifications You must be signed in to change notification settings

alvarillo89/Raycast-Render-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raycast Render Engine

A Ray-casting 2D render engine based on python3 and pyglet. Inspired in retro FPS games.

Usage:

  1. Download requirements.txt, RayCastRenderEngine.py and RayCast.pyx.
  2. You need to have Python3 installed, then run:
pip install -r requirements.txt

In example.map and ExampleGame.py files, you can see an example of how to create custom maps and the use of the library respectively.

A custom map is just a plain text file with .map extension. "W" represents a wall and "-" represents a blank space. Maps are represented internally as a matrix of cells. Make sure that all rows and columns have the same dimensions, filling with "-" if necessary.

For running a game just type:

python3 ExampleGame.py

About

👾 A Ray-casting 2D render engine based on python3 and pyglet. Inspired in retro FPS games.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages