Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an SDK like libgdx which allows me to code in C++? I really like the features libgdx has, but would prefer to code in C++. I've looked around but can't find anything. I found the commerical Maramlade project, but that doesn't support Linux at all, plus I'd prefer an open solution.

share|improve this question

closed as not constructive by Nicol Bolas, Josh Petrie, bummzack, Tetrad Aug 15 '12 at 17:09

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

if you are used to code in C++ i think that your best option is just to do your own engine. – user827992 Aug 10 '12 at 17:01
I was hoping to avoid writing the cross-platform bits myself. I don't want a thick layer though, direct exposure to OpenGL ES is good, as is fairly low level sound access. This is why libgdx sounds nice. – edA-qa mort-ora-y Aug 10 '12 at 17:03
or you can just pick only the library that you are interested in, for the audio there is OpenSL ES for example. – user827992 Aug 10 '12 at 17:13
"Which tech to use" questions are off topic for the site:… – Tetrad Aug 15 '12 at 17:09
I'm not asking which to use, I'm asking which exist, which I find is a critical difference. It is very difficult to find this information with a web search. The answers are also factual, and not subject to opinion. – edA-qa mort-ora-y Aug 15 '12 at 18:09

I'll answer myself since I found something called GamePlay. It appears to support the most platforms of any SDK I've seen so far and is all in C++. It doesn't quite have its Linux support yet working but it appears to be a priorty issue.

share|improve this answer

Guess you're looking for something more complete, but gdx++ is the ongoing port of libGDX, though it still lacks some essential features - quoting from the README:

  • Backend polishing. Seriously, it's working, but there is a lot of stuff that is ugly and in a haste.
  • iOS support
  • GLES 2. Check if it's working
  • etc (whatever that entails)

Porting efforts seem a little slow-paced at the moment though.

share|improve this answer
Okay, I see it now. It looks like it is still an active project, though isn't as complete as GamePlay. – edA-qa mort-ora-y Aug 11 '12 at 5:32

Cocos2d-x is a cross-platform and open source framework. It allows to do everything which allows libgdx.

share|improve this answer
It looks like a 2d only library, is this correct? – edA-qa mort-ora-y Aug 11 '12 at 21:45

Someone over on badlogic forums was porting libgdx over to c++ a while back but I can't seem to find it now. Maybe you can politely ask over there? It may have been scrapped because the main branch will eventually support ios.

share|improve this answer
I see there was a project on github, but it's gone now. – edA-qa mort-ora-y Aug 10 '12 at 18:57
I was actually talking about gdx++ that @junkdog mentioned but I think it's not being kept up to date. – Chuck D Aug 11 '12 at 3:42

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