How do you write native (C/C++) code with Libgdx that works for Android and desktop? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.