A conversion of PlayfulJS's javascript raycaster into Python/Pygame
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Uninspiring start. Jun 9, 2014
deathvalley_panorama.jpg Uninspiring start. Jun 9, 2014
knife_hand.png Uninspiring start. Jun 9, 2014
raycast.py Varying height example (slow) Jun 11, 2014
raycast_vary_height.py Varying height example (slow) Jun 11, 2014
readme.md Some docs, code simplification. Jun 10, 2014
wall_texture.jpg Uninspiring start. Jun 9, 2014

readme.md

This is an attempt to convert the javascript ray casting example found here:

http://www.playfuljs.com/a-first-person-engine-in-265-lines/

At the moment it is a very direct translation from the javascript, but current results are somewhat... uninspiring.

I maintain about 8 frames per second. I'm hoping to find some way to combat this.

Edit: The frame rate has been brought up to about 20 fps through various simplifications and changes.
Still not amazing, but much better.

-Mek