Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 24, 2022. It is now read-only.

oscr/PyRay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

PyRay - Python Raycasting Engine

PyRay is a ray casting engine (http://en.wikipedia.org/wiki/Ray_casting ) written in Python using the PyGame library (http://www.pygame.org/wiki/about). This is the technology used in for example in Wolfenstien (http://en.wikipedia.org/wiki/Wolfenstein_3-D).

###Screenshots from the game: In game screenshot

In game screenshot

In game screenshot

I wrote this a few years ago as a school project when I was just learning Python. Therefor not all code might be considered best practice. I don't have the time or interest to continue developing it right now, however I hope that someone will find the code useful!

Unfortunately I seemed to have lost my final report and thereby also lost some of my references. I would therefor like to acknowledge that there are some unnamed contributers and apologize for lack of credit to their work. I would like to thank: http://www.permadi.com/tutorial/raycast/ for providing useful information about ray casting.

Controls:

ESC – Exit program
F1 – Take screen shot jpg
F2 – Take screen shot bmp
F5 – Turn on shadows
F6 – Turn of shadows
F7 – Show HUD
F8 – Remove HUD
Use arrow keys to move around.

About

Python Raycasting Engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /