Skip to content

Mekire/pygame-raycasting-experiment

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

About

A conversion of PlayfulJS's javascript raycaster into Python/Pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages