4
\$\begingroup\$

I'm looking for a C\C++ game dev framework that supports iPhone. It should have least Objective-C requirement to use it.

The closest one I could find is Kanji engine. But that's not free.

Other frameworks like cocos2d need to be code in obj-c.

So do you know any C\C++ game dev framework for iPhone?

Thanks

\$\endgroup\$
2
\$\begingroup\$

Airplay SDK works well.

http://www.airplaysdk.com/

I've used it with the express edition of Visual Studio. It comes with a decent emulator for windows too, and supports more than just iPhone platform:

  • iPhone OS
  • Android
  • Samsung Bada
  • Symbian
  • Windows Mobile
  • BREW
  • Palm/HP webOS
  • Maemo

.. it also has pretty generous Indie licensing terms. The iphone/ipod/ipad license is free. Other platforms are available for $99 per seat/year if you earn < $100k per year.

http://www.airplaysdk.com/licensing_details

\$\endgroup\$
4
\$\begingroup\$

Allegro is a C/C++ 2D cross-platform programming library. They don't mention iPhone as a supported platform on the website, but it appears there in the recent changelog, so probably you can grab the development version and find something useful there.

\$\endgroup\$
3
\$\begingroup\$

I've used cocos2D on a project. It's pretty neat and easy to understand.

| improve this answer | |
\$\endgroup\$
  • 1
    \$\begingroup\$ That's objective-c. Right? \$\endgroup\$ – astk Sep 27 '10 at 14:01
  • \$\begingroup\$ yup, except for box2d/chipmunk of course \$\endgroup\$ – LearnCocos2D Sep 30 '10 at 11:01
1
\$\begingroup\$

This might be of interest: http://code.google.com/p/oolongengine/

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ But that's for 3D. \$\endgroup\$ – astk Sep 27 '10 at 6:16
  • \$\begingroup\$ Well, nothing is stopping you from not working in the third dimension. \$\endgroup\$ – Nailer Sep 27 '10 at 7:12
  • \$\begingroup\$ I agree with Nailer, but sure, a "pure 2D" library might be easier to work with. I haven't worked enough on embedded systems to give you any other recommendations though. \$\endgroup\$ – palle8x Sep 27 '10 at 7:38
  • \$\begingroup\$ As soon as you want one sprite in front of another sprite, you're doing 3D. \$\endgroup\$ – dash-tom-bang Sep 27 '10 at 19:29
  • \$\begingroup\$ No you're not. You can do that by sorting the rendering order and stay in 2D. \$\endgroup\$ – martinpi Sep 29 '10 at 6:22
1
\$\begingroup\$

Angel Engine

I don't know that the stable version supports iPhone yet, but it does support Mac OSX. There is a development branch thats specifically to enable iPhone support.

| improve this answer | |
\$\endgroup\$
1
\$\begingroup\$

Ogre3d (www.ogre3d.org) supports pretty much everything, and includes an SDK for iPhone development as well (OGRESDK/SDK/iPhone directory). It is free so no worries about any fees for using it. It is primarily a 3d rendering engine, although plenty of people have used it for 2D work, so if that is a problem you might want to look at some of the 2D options listed above.

| improve this answer | |
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.