PHP中文网2017-04-17 16:41:58
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
PHP中文网2017-04-17 16:41:58
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...