Blitz3D code to BlitzMax

BlitzMax Forums/BlitzMax Beginners Area/Blitz3D code to BlitzMax

ringwraith(Posted 2008) [#1]
How easy would it be to convert a Blitz3D program into Blitzmax? I mean, would you have to re-write the whole program or are the languages similar enough that it would simply involve a little tweaking? Also, how do the 3D capabilities of B-Max using MiniB3D compare to Blitz3D?


jhocking(Posted 2008) [#2]
Well, when I first got BlitzMax I ported SL Clothes Previewer from Blitz3D:
http://www.fileden.com/files/2006/10/8/271989/slcp1.zip
http://www.fileden.com/files/2006/10/8/271989/slcp_win.zip
Those downloads include source code so you can see the difference.

I certainly didn't have to re-write the whole program. The port was more than just a little tweaking but the work was mostly in converting from the old gui system to use MaxGUI. Other than the GUI, most of the change was converting all the semi-colons for comments into single quotes. Oh yeah, and I had to declare all the variables differently (eg. instead of an integer, the handle for an entity is a TEntity type.)

Now that I'm actually using BlitzMax a lot I'm using all sorts of features like OOP that weren't available in Blitz3D, but the point is I didn't have to when I first switched over.