Rocket Duel - now on Mac! - Adventure Forums
You are viewing an archived version of the site which is no longer maintained.
Go to the current live site or the Adventure Gamers forums
Adventure Gamers

Home Adventure Forums Misc. Chit Chat Rocket Duel - now on Mac!


 
 
LinkBack Thread Tools
Old 07-20-2007, 12:57 PM   #1
Game Creator Hobbyist
 
Trumgottist's Avatar
 
Join Date: Nov 2003
Location: Stockholm (or Gotland)
Posts: 2,609
Default Rocket Duel - now on Mac!

Just a quick note to let you know that I've ported my old action game to MacOS X. Rocket Duel is a game for two players on a split screen. It can be quite fun if you have someone fun to play with.

__________________
Play my game: Frasse and the Peas of Kejick. The Special Edition is now available! (Mac OS X or Windows.)
Trumgottist is offline  
Old 07-20-2007, 02:00 PM   #2
Under pressure.
 
Erwin_Br's Avatar
 
Join Date: Sep 2003
Location: Apeldoorn, The Netherlands
Posts: 3,773
Default

Interesting... Did you built it from scratch, or could you somehow recompile the original source?

--Erwin
__________________
> Learn more about my forthcoming point & click adventure: Bad Timing!
> Or... Visit Adventure Developers: Everything about developing adventure games.
Erwin_Br is offline  
Old 07-20-2007, 03:39 PM   #3
Game Creator Hobbyist
 
Trumgottist's Avatar
 
Join Date: Nov 2003
Location: Stockholm (or Gotland)
Posts: 2,609
Default

It uses a cross-platform game-programming library called Allegro, which finally supports the Mac well. So the process of porting was something like this:

1. Compile and install Allegro on my Mac.
2. Figure out a couple more things about XCode, frameworks and stuff. (I'd used it before, but I learned more useful things from doing this.)
3. Replace the sound library FMOD with BASS. (The version of FMOD I'd used isn't available for OSX and the new version is quite different, so I chose to go with BASS which I have used a bit before.)
4. Replace a few Windows-specific assumptions and functions, and replace some deprecated Allegro functions. (The code was already mostly platform-independent C and pretty clean, so this was an easy and quick step.)
5. The game finally compiles and links... and runs!
6. Test the game. - Discover two small bugs in Allegro's OSX code.
7. Get the bugs fixed. (One of them - one of the sticks on my gamepad didn't work as expected - I actually was able to fix myself and send in a patch for. I'm proud of that.)
8. Test the game some more.
9. Learn how to package a Mac app, and put it in a nice-looking dmg complete with a new icon for the app and a background image for the dmg. (Including making some silly mistakes in the process, of course, but I really like the neatness of the .app and dmg packaging of things. That's something Apple has done well.)
10. Release it.

It took me a week, with plenty of time included for practising tuba, reading, lawn-mowing and so on. A guess might be that I spent 15-20 hours in total on it. Including the testing and learning.
__________________
Play my game: Frasse and the Peas of Kejick. The Special Edition is now available! (Mac OS X or Windows.)
Trumgottist is offline  
Old 07-22-2007, 01:27 PM   #4
Kung Fu Code Poet
 
jacog's Avatar
 
Join Date: Mar 2006
Location: South Africa
Posts: 701
Default

Allegro games compile well for me under Linux. Could I have the source to have a stab at it?
__________________
http://www.screwylightbulb.com/
jacog is offline  
Old 07-22-2007, 02:36 PM   #5
Game Creator Hobbyist
 
Trumgottist's Avatar
 
Join Date: Nov 2003
Location: Stockholm (or Gotland)
Posts: 2,609
Default

I don't have any rational reason for it, but no, I'd like to keep the source to myself. (At least at this time.) Thanks for showing interest, though.
__________________
Play my game: Frasse and the Peas of Kejick. The Special Edition is now available! (Mac OS X or Windows.)
Trumgottist is offline  
Old 07-23-2007, 12:31 AM   #6
Kung Fu Code Poet
 
jacog's Avatar
 
Join Date: Mar 2006
Location: South Africa
Posts: 701
Default

The only time I ever wish to keep source code to myself is when I write embarrassingly bad code. ;-)
__________________
http://www.screwylightbulb.com/
jacog is offline  
 



Thread Tools

 


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.