How do you write native (C/C++) code with Libgdx that works for Android and desktop? Thanks.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With