Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AppleManEric

macrumors newbie
Original poster
hey guys,
does anyone know what language games can be written in for macs.
thanks
(sorry if this is an old thread, i searched for it but couldn't find anything)
Eric
 
You can use most anything including C, C++, Objective-C, and Java, which are the common choices.

If you want it to work on Linux or Windows also, your best bet is to learn OpenGL for the graphics and C++. You can put the operating system-specific things into just a few files and use compiler directives to keep the code small.
 
Originally posted by AppleManEric
oh, uh, what would be the best way to learn openGL?

There are a few books on it including OpenGL Game Programming (ISBN 0-7615-3330-3) and the OpenGL SuperBible (ISBN 1-57169-164-2).

The older books are UNIX-oriented; the newer books are Windows-oriented. Either way you have to make small adjustments.

I'm sure there are plenty of tutorials online as well.
 
If you're completely new to writing games for the mac, I recommend idevgames.com. They have a lot of resources (references, software and game assets) and a quite supportive community.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.