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

#1 2012-06-05 02:54:51

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Create YOUR OWN Array Based Raycaster!

Create your own Array Based Raycaster! A project that allows you to draw a map in the space provided, press space, and watch how the computer draws your map in 3d. If you're an advanced programmer you can use it to skip the nonsense of creating the map, tweak the scripts to match your needs (there's always something wrong with my math), and upload.

I created this to have an easy way to create Raycasters. Now, new scratchers without any programming ability whatsoever can upload their very own 3d room.

How I did it: Pretty simple. I took the script from my first array based raycaster, put it into this project, and added the ability to draw a map which would be scanned when you press space. To know how the array based raycaster works, that's going to take awhile to explain.

Bugs/Things that can't be fixed: The drawing field is bad. It's going to be severely blown up (where it gets larger) and I looked at a diagonal line I drew and it looked like this
__
  |__
      |__
          |__
Top-down view of course.

UPDATES:
June 9th 2012: Added the ability to move around the player start location dot.

I WOULD LIKE FEEDBACK!!!

Last edited by TorbyFork234 (2012-06-10 00:18:28)

Offline

 

#2 2012-06-05 04:38:23

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Create YOUR OWN Array Based Raycaster!

Cool! I loved it!  big_smile


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#3 2012-06-10 00:06:30

TorbyFork234_Test
Scratcher
Registered: 2012-04-04
Posts: 15

Re: Create YOUR OWN Array Based Raycaster!

Released a new update!

Offline

 

#4 2012-06-10 13:37:03

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: Create YOUR OWN Array Based Raycaster!

Awesome!


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#5 2012-06-10 13:41:56

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Create YOUR OWN Array Based Raycaster!

ftf841 wrote:

Awesome!

Thanks!

Offline

 

#6 2012-06-10 13:44:18

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: Create YOUR OWN Array Based Raycaster!

TorbyFork234 wrote:

ftf841 wrote:

Awesome!

Thanks!

you're welcome!  smile


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#7 2012-06-13 18:58:27

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Create YOUR OWN Array Based Raycaster!

bump

Offline

 

Board footer