I did some googling and stackoverflowing, but still remained with the question what to do.
I have a big navigation-based project, iOS5.1, for iphone.
On couple of VCs i need to include some more or less complicated animations, like a chewing animation of a boy character.
I’ve worked with cocos2d and i know it would be pretty easy to accomplish my goal with cocos2d. But is it possible to include somehow the scenes and layers with coco2sd into needed VC? Or somehow to overlap the view with s scene?
Any hint would be highly appreciated.
I did some googling and stackoverflowing, but still remained with the question what to
Share
Firstly, you need to create a director in your AppDelegate:
And in your
-viewDidLoadmethod, add the view which is created by Cocos2D toself.viewas a subview:You can create your own scene to replace the
blankScenethen.I’d highly recommend you a post on this tech: “How To Integrate Cocos2D and UIKit”. I implement this successfully by reading @Ray’s post! 😉