Possible Duplicate:
Any tips for creating cross-platform games?

Windows C programmer here (going back to 1992 and Windows95 back when it was called Windows93). Can function in C++, but mostly still a C programmer.

Looking to build a cross-platform casual game. Very numbers heavy with only a few artistic embellishments and animations, so perhaps a development environment for business apps might be the best option. Or an easy-to-use 2D game dev platform.

Target platforms: Windows, Mac, MS Tablet, iPhone, iPad, Android.

I currently develop on Windows with Visual Studio 2012, but we could spend up to $50K on hardware/software/middleware if necessary. Not very competent getting open-source software working. Would rather pay the money and jump right into app development.



marked as duplicate by bummzack, doppelgreener, John McDonald, Jari Komppa, Trevor Powell Sep 22 '12 at 1:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ you can try SDL, SFML. \$\endgroup\$ – Ali1S232 Sep 15 '12 at 15:50
  • \$\begingroup\$ @Gajoo Neither of your suggestions support "MS Tablet, iPhone, iPad, Android" which is over half of the OP's target platforms. \$\endgroup\$ – ClassicThunder Sep 15 '12 at 23:37
  • \$\begingroup\$ Personally I suggest Unity3D (unity3d.com). \$\endgroup\$ – ClassicThunder Sep 15 '12 at 23:40
  • \$\begingroup\$ @ClassicThunder I know at least has SDL support for all of them, the only thing it does not support is "Windows Phone" which can not be blamed since that OS doesn't let you run a C/C++ code. also SFML is on it's way to have complete ports for both iOS and android, but they are not complete yet. (a google search will help) \$\endgroup\$ – Ali1S232 Sep 16 '12 at 3:12

If you are looking to do something with C or C++, I would personally recommend using OpenGL with GLFW (and toss in GLEW if you plan on using OpenGL 2 or higher functions). GLFW and GLEW work well with Visual Studio 2012 and other compilers.

However, if you aren't interested in creating your own engine with OpenGL, and are willing to use c#, you could use XNA with MonoDevelop, which should work on all or most of your target platforms.

  • 1
    \$\begingroup\$ the guy wants to create a casual 2d game with little art and you're recommending OpenGL... come on \$\endgroup\$ – dreta Sep 20 '12 at 20:29
  • \$\begingroup\$ I'm just saying that if he wanted a cross platform game in C that he could try OpenGL, but if that's not what he's looking for I would recommend XNA which is cross-platform (unofficially). \$\endgroup\$ – sFuller Sep 21 '12 at 4:17

Cocos2d-x lets you stick with C++ and Visual Studio for development but gets you running on Windows, Mac, iPhone, iPad, and Android with little fuss. MS tablet is trickier since you'll probably use C# and XNA for that.


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