Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to write C/C++ code in Libgdx?

Tags:

java

c++

c

libgdx

How do you write native (C/C++) code with Libgdx that works for Android and desktop? Thanks.

like image 422
AnimatedRNG Avatar asked Dec 07 '25 20:12

AnimatedRNG


1 Answers

According to their github project libgdx is a "Cross-platform Java game development framework based on OpenGL ES". I've just searched for "libgdx with c++" and ended up at their main site which says it's written in Java/C++/C — but that doesn't mean it's available as a C/C++ library, and I can't see anything to that effect on their site, so I'd assume the answer to your question is that you can't use it in the way you would like.

like image 90
Matt Lacey Avatar answered Dec 09 '25 10:12

Matt Lacey