Hi All,
So I've got a 10,000+ line game I need to port from Blitzplus to BMax. While the beach-ball was spinning & the .bb source file was being imported into max I had dreams about clicking compile & experiencing instant gratification.
Needless to say it didn't work out that way.
Specifically, the following issues occurred:
- Lines that contained more than one statement had their colons replaced by a semi-colon. Is there some magic here or do I need to separate these into their own lines?
- Several errors occurred: Booleans can only be used on integers, putting a % following the variable does not solve this issue... what does this mean?
- Commands such as color etc., are not recognised, does this mean I need to either write functions for the majority of blitzplus graphics commands or search-replace them out?
- I've learned to hate search and replace as it searches and replaces within words, is there anyway to change this behaviour in the default ide (hope springs eternal) ?
In summary, has anyone had any practical experience in porting a blitzplus (or 2d blitz3d) program across to blitzmax that could give me some advice on shortcuts, best practices etc.?
In addition, I'm wondering if there is a smart way to replace the setbuffer commands (draw to a number of different buffers) with the pixmap equivalents (i.e. a neat little function that emulates setbuffer perhaps?)
Anyhow, I look forward to your responses; I figured that I'd check with the community before embarking on this task.
Cheers!
So I've got a 10,000+ line game I need to port from Blitzplus to BMax. While the beach-ball was spinning & the .bb source file was being imported into max I had dreams about clicking compile & experiencing instant gratification.
Needless to say it didn't work out that way.
Specifically, the following issues occurred:
- Lines that contained more than one statement had their colons replaced by a semi-colon. Is there some magic here or do I need to separate these into their own lines?
- Several errors occurred: Booleans can only be used on integers, putting a % following the variable does not solve this issue... what does this mean?
- Commands such as color etc., are not recognised, does this mean I need to either write functions for the majority of blitzplus graphics commands or search-replace them out?
- I've learned to hate search and replace as it searches and replaces within words, is there anyway to change this behaviour in the default ide (hope springs eternal) ?
In summary, has anyone had any practical experience in porting a blitzplus (or 2d blitz3d) program across to blitzmax that could give me some advice on shortcuts, best practices etc.?
In addition, I'm wondering if there is a smart way to replace the setbuffer commands (draw to a number of different buffers) with the pixmap equivalents (i.e. a neat little function that emulates setbuffer perhaps?)
Anyhow, I look forward to your responses; I figured that I'd check with the community before embarking on this task.
Cheers!