How to port BlitzBasic 3D to BlitzMax IDE

353 views Asked by At

Can someone help me on porting a game written in BlitzBasic to BlitzMax IDE. I tried running the .bb file into MaxIDE but it says "process failure with file.bb". Also where can i find more information regarding this?

3

There are 3 answers

0
SparkFountain On

BlitzMax introduces several new features such as classes, real object orientation, inheritance and many more. Anyways, most of the BlitzBasic syntax elements remain or can at least be re-used.

To port your BlitzBasic programs to BlitzMax, I suggest you learn and understand the basic language elements. You can also use the following guide as a starting point.

  • comments start with ' or REM instead of ;
  • arrays are defined with Local array[10] instead of Dim array(10)
  • 3D commands are not supported but you could use i. e. MiniB3D
0
BlitzCoder.org On

You can use the BlitzMax IDE Community Edition project which has the feature to import .bb files then convert them to .bmx files.

In regard to the 3D commands part and as Spark Fountain as mentioned, it is not supported by default, but you can use MiniB3D or OpenB3DMax.

http://blitzmax-ide.sourceforge.net/

BlitzMax IDE Community Edition

0
Zeto On

You must rename the .bb files to .bmx. Though a superset, BlitzBasic is a completely different language than BlitzMax.