Welcome, Guest. Please login or register.

Author Topic: BlitzMax -> Blitz Basic?  (Read 5043 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
BlitzMax -> Blitz Basic?
« on: November 11, 2006, 12:46:46 PM »
I recently downloaded a Mac game which was written in BlitzMax. It was a PPC app, so I downloaded the trial version of BlitzMax and recompiled it as an Intel binary to run on my MacBook. I also made some modifications to the source so the game's data files could be moved within the app instead of sitting inside a directory.

It was so easy that I started wondering about the possibility of porting the game to the Amiga in Blitz Basic. I'm a total noob to both languages, so I have no idea how compatible the Blitz Basic compiler is with BlitzMax code. Does anyone who has experience of both know how hard it would be to modfy BlitzMax code so it will compile in Blitz Basic and run on an Amiga?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: BlitzMax -> Blitz Basic?
« Reply #1 on: November 11, 2006, 03:44:23 PM »
I don't know whether it uses and OO features or not. What type of syntax should I look for to determine whether anything is OO in the BlitzMax code?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: BlitzMax -> Blitz Basic?
« Reply #2 on: November 12, 2006, 10:45:49 AM »
Well the main part of the code contains Type, Field and Method in several places, so I suppose it's going to take more than just changing some syntax to get it working. If anyone is interested in taking this on, it's GridWars (an implementation of Geometry Wars on the X-Box). I think it would be a great game on the Amiga. You can't download it any more but I've got the MacOS binary and the BlitzMax source (which is cross platform).

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: BlitzMax -> Blitz Basic?
« Reply #3 on: November 12, 2006, 08:15:03 PM »
Thanks for the info guys. Bloodline, since you have used both languages why don't you port it for us?  :-P

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: BlitzMax -> Blitz Basic?
« Reply #4 on: November 19, 2006, 05:55:36 PM »
Ok here's another thought. I believe the source code for the BlitzMax compiler is included if you buy it. I say that because I have read some things online about re-compiling BlitzMax. How much work would be to port BlitzMax itself to AmigaOS/MorphOS? Then BlitzMax apps could just be compiled on the Amiga/MorphOS version. I'm way out of my depth here so please forgive me if this is a stupid idea :lol:

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: BlitzMax -> Blitz Basic?
« Reply #5 on: November 19, 2006, 06:46:15 PM »
Damn :-( Thanks for the info though.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10