Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Cool.
You know porting a game project to other platforms can be very time consuming and distracting. I've been trying to port some of my projects to Mac OS X using Stoney's tutorial he posted here: http://www.freeze-dev.com/2011/07/de...s-on-mac-os-x/ It ports over quite well, except for somehow my project has some issues with SDL. That however seems to be project specific.
Stoney uses this technique with all of his projects and is able to make games for Windows, OS X, Linux and possibly iOS at the same time. Perhaps it bares reading if you are interested in porting to OS X some time in the near future. I know it helped me with my porting for the most part.
Thanks for the link Jason, some very handy stuff there
Question - does this code:
go in the project's .dpr/.lpr file?Code:{$IFDEF DARWIN} {$linkframework Cocoa} {$linkframework SDL} {$linkframework SDL_image} {$linkframework SDL_mixer} {$linkframework SDL_ttf} {$linkframework SDL_net} {$link libSDLmain.a} {$ENDIF}
Mind you, I won't be porting over to OS X any time soon - I don't know anyone with a Mac, or have any kind of Mac. I also haven't had any luck installing Mac OS X in a virtual machine to try things that way either...
I would love to though once my game is more complete
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Thanks Jason
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Since I am using OpenAL for sound, I guess I would have to add in a similar bit of code for that?
Or is it enought that I am using the library like so in my OpenAL unit?Code:{$linkframework OpenAL}
cheers,Code:unit xeEngine_openal; {$I xeEngine_include.inc} interface const {$if defined(windows)} libopenal = 'openal32.dll'; {$elseif defined(unix)} libopenal = 'libopenal.so'; libopenal0 = 'libopenal.so.0'; libopenal1 = 'libopenal.so.1'; {$elseif defined(darwin)} libopenal = '/System/Library/Frameworks/OpenAL.framework/OpenAL'; {$ifend}
Paul
Last edited by paul_nicholls; 19-09-2011 at 03:34 AM.
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
You need to add both actually, but then you should be set for OpenAL on Mac OS X.
Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)
Programmer: A device for converting coffein into software.
Thanks Stoney
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Nice! files2pas, a little project I wrote back in 2007, and then updated in 2009 :
http://www.pascalgamedevelopment.com...ll=1#post43270
has been useful for The Probe - I have used it to embed my resources into the .exe file, and now they aren't floating around separately. Much cleaner now
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
I have updated my blog again with what I am up to with The Probe's progress
http://theprobegame.com
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Bookmarks