it isn't faster computers; it's just that scratch is much, much slower than most text-based programming languages. However, I'm working on a new caster, so far it renders 15x faster than this one but it has much less detail. also music is from remixes of Thunder Force/Lightening Force songs (it was a Genesis game)
Oh! I found a "compiler" that makes .exe's out of python code. Here's the address for that, too: http://www.py2exe.org/old/ Also, I'm thinking about getting started with VB.net... Could you tell me somewhere where I can get good help? I'm thinking of that language because I've programmed in a flavor of basic before. I've programmed in TI-basic, a version of basic for TI calculators.
This is an optimized version of my raycaster. A raycaster creates a 3D rendering from a 2D map or array. It does this by shooting rays for each vertical line of the screen (for speed, this raycaster does every 4 vertical lines) and marks the distance from the player position to the wall (gotten from the ray). This raycaster also supports lighting.
This optimized version is about 10x faster than my old one. I optimized the raycasting cycle by removing unnecessary variables that were being used, and also now 5 raycasters are working in unison, speeding it up even more.
I didn't write the original code for this raytracer; the original code was written in BlitzBasic. I simply ported it over to Scratch and hugely optimized it.
Comments
You need to be logged in to post comments
Add a Comment
STILL too slow!
this doen't even work
it would be faster without the music I think...
Lots faster.
when gobo quest gona come out?
dosent work
no worky.
i know, it doesn't work when downloaded. I'm currently trying to code a new one from scratch, maybe that one will work both online and offline
i downloaed it and i don't get it every time i click space after i've moved the exact same screen coes up (it's all green)
it isn't faster computers; it's just that scratch is much, much slower than most text-based programming languages. However, I'm working on a new caster, so far it renders 15x faster than this one but it has much less detail. also music is from remixes of Thunder Force/Lightening Force songs (it was a Genesis game)
i know, but scratch will run faster on a faster computer.
Not bad. Where is the music from?
i agree with paddle2see! faster computers please, computer manufacturers!
(view all replies)Yep! It works! Time to make something more complex than pong!
Oh! I also found this! http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
Oh! I found a "compiler" that makes .exe's out of python code. Here's the address for that, too: http://www.py2exe.org/old/ Also, I'm thinking about getting started with VB.net... Could you tell me somewhere where I can get good help? I'm thinking of that language because I've programmed in a flavor of basic before. I've programmed in TI-basic, a version of basic for TI calculators.
No, I think there's a way to put it into a .exe. And you can make python much faster using something called "psyco". Just go to this address for info: http://en.wikipedia.org/wiki/Psyco">http://en.wikipedia.org/wiki/Psyco
(view all replies)this isn't ray tracing though, it's ray casting =P
Great Ray tracing project S65! It's 99% better then the last 3D ray tracer.^_^ Good job!
Very impressive! If computational speed increases another 1000 fold, we can use this for real-time rendering! Very impressive!
Wow, amazing project!
And lighting too... holy cow!
Awesome! Nice rendering music! Go Wolfenstine!