A Slushie Calling to cocos2d-android
Posts 8
Added by A Slushie over 1 year ago

I was up until recently using cocos2d-android to work on my project until I discovered this glorious website.

I would prefer not to lose a few weeks worth of work. Is there any way that I can "call up" to the Java code and present it to the user or will I be forced to recode everything?

Zhe Wang RE: Calling to cocos2d-android
Posts 1642
Location Amoy, China
Added by Zhe Wang over 1 year ago

You can read documents on android.com for how to invoke java codes via JNI.
But my suggestion is to translate the java sources into c++. It's very complex to mix your 2 opengles drawing views, one in cocos2d-android, another in cocos2d-x.

Enjoy Coding, Enjoy Life.


(1-1/1)