williamsandonz
williamsandonz

Reputation: 16430

Iphone game dev, c++ / mac comparison

Hey guys, I've done some research but still unsure. To get into IPhone Game Dev properly do I need to use Objective C rather than C++ ? I'm happy to invest in a mac mini and want to make sure I'm using the same systems/platforms professional Iphone Dev's use. Are most of the tutorials out there in Objective C E.T.C?

Cheers!

Upvotes: 1

Views: 711

Answers (2)

bor
bor

Reputation: 658

it's totally up to you. If you decide to write your own game engine you can do it in Objective-C or C++. IMHO there is no single proper way to do game dev. I use mac mini and do parts of my coding in c++ if I find that easier than coding in Objective-C. After all you don't want to mix engine stuff (probably using opengl) with ui stuff so your code gets separated anyway. It honestly doesn't matter what is the language of your game engine as long as you can use it on idevice and are comfortable writing in.

So to sum up, you don't have to cling to one language. Write your UI in objective-c and prepare the environment to use opengl and then write your engine in c++ if that suits you.

Upvotes: 2

jer
jer

Reputation: 20236

The fact that OpenGL ES is written in C means you can use C, C++, Objective-C or Objective-C++ to write your game engine. So use what you're comfortable with.

Many of the books that I've seen out there assume C++, but as I say, you can do your engine in anything of the above.

Upvotes: 1

Related Questions