GLBasic forum

Main forum => Beta Tests => Topic started by: Scott_AW on 2010-Feb-06

Title: Freebasic experiment now GLBasic experiment.
Post by: Scott_AW on 2010-Feb-06
While I was going through the forum and happened upon Kitty Hello's ray caster, in which I believe it was mentioned that it went from C to FreeBasic to GLBasic.

So I decided to (quickly even) convert a experiment I had done in freebasic.

You can find it here. (http://www.freebasic.net/forum/viewtopic.php?t=14123)

Although it doesn't seem to quite perform as well as the Freebasic version, my current intent with the concept requires a far less amount of spaces to render then either of these two versions handle.

The version below, the GLB one, lacks the file handling of the Freebasic version and uses a smaller array for the plotting of the squares. 

Download ssvox_convert.zip (http://host-a.net/scott_aw/ssvox_convert.zip)

Both are far from complete and perfect, but mostly done out for fun.  They lack proper spacing for one.

I believe one main reason Freebasic ran better was due to how I made sure variables were exactly what they needed to be, integers, bytes, floats, ect.  Could be other factors too.

This little experiment had also inspired another one in GM using 20 layers of images to create a fake-voxel style side-scroller engine.  Link provided below.

Playable tech demo  (http://gmarcade.com/game/EconapoBuild32.html)