objective-c - iOS和Android的原生应用中,怎么嵌入Cocos2dx做的游戏?
怪我咯
怪我咯 2017-04-17 16:39:58
0
3
303
怪我咯
怪我咯

走同样的路,发现不同的人生

reply all (3)
伊谢尔伦

cocos2dx can realize communication between java and c++ through jni

    Ty80

    You can just add cocos2dx’s gl view to your view

    For details, please take a look at the methods in AppDelegate.mm and Cocos2dxActivity of cocos2dx

      Ty80

      Wori, no one has given a correct answer, I will give it:

      Integration of UIKit and Cocos2d-x; setting the background of CCEAGLView to be transparent to display the UIView behind it; and solutions to problems encountered during integration

      http://blog.csdn.net/michaeli...

      Demo: https://github.com/michaelin1...
      Project: UIKitCocos2dLuaTest

      Old solution reference: https://www.raywenderlich.com...

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!