Porting from Blitzmax?

Monkey Forums/Monkey Programming/Porting from Blitzmax?

zoqfotpik(Posted 2012) [#1]
I have a fairly large project composed of a number of source files that I have been writing in Blitz and need to port to Monkey.

Couple of questions.

* Does anyone have any tips on the porting process in general? Is it better to write tests for each individual class, then port and test the class, and move up the class hierarchy that way?

* Are there any comprehensive documents or guides for porting from Blitzmax to Monkey? I've looked and I don't see anything. This seems like it would be a sensible thing for the company to provide, considering that Monkey has largely the same user base as Blitzmax does.


Volker(Posted 2012) [#2]
About differences between M>onkey and Bmax:
http://www.monkeycoder.co.nz/Community/posts.php?topic=208&


AdamRedwoods(Posted 2012) [#3]
that list needs to be consolidated and put onto the wiki. http://blitz-wiki.appspot.com/

other notes:
- multidimensional arrays are arr[x][y] and must be defined using an allocation loop for n dimensions added to a single dimensional array.

- no TPixmap, although using the opengl DataBuffer class it can be duplicated.

- few OS routines, due to multi-platform consistency. LoadState/SaveState is pretty much the only local file access for mobile.


therevills(Posted 2012) [#4]
If your large project just uses BlitzMax commands and no 3rd party libraries you should be able to do it with a few small changes (esp. LoadState/SaveState).


zoqfotpik(Posted 2012) [#5]
Figured it out pretty much, main difference is encapsulation into classes Much easier than I expected.


hardcoal(Posted 2012) [#6]
anyone made an exe of blitzmax teleporter to monkey?
im willing to pay for such a thing. :)
i mean a project teleporter with all the folders.