Adding functionalities to cocos2d-x

Adding functionalities to cocos2d-x
0.0 0



I couldn’t find the answer to the following question :

Is there a way to plug native extensions to cocos2d-x (push notification for example) ? I’d like to write my code in the device’s langage and everything will go fine (for this platform) ^^.




Maybe you had to wrap device’s language from java to c*+ on android, wrap objc to c*+ on ios, which make your cocos2d-x game can invoke your new features/classes.
To do this, please refer to the document offer by apple describing how to mix objc & c**, or the document offer by google describing how to invoke java from c** (named JNI).