This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-22 22:52:34

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Real time Raycaster

My Raycaster

If you don't know what a raycaster is, it's a method of drawing 3D, usually in video games.

How mine works:
It sends out 15 sprites 4 times totaling 60 directions.  Whenever one touches a wall, it adds it's distance to a certain list item.  Once all of the distances have been determined, one sprite draws the walls.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#2 2011-08-06 18:56:56

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Real time Raycaster

Bump.  Been gone for 2 weeks...seems it got a good amount of attention.

Last edited by AtomicBawm3 (2011-08-06 18:57:09)


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2011-08-08 17:35:40

Trekkie210
Scratcher
Registered: 2010-08-04
Posts: 500+

Re: Real time Raycaster

Hope this isn't necroposting, but I tried it and it is really good!


http://memberfiles.freewebs.com/84/02/38380284/photos/Ponies/131426738106.gif

Offline

 

Board footer