cocos2d / cocos2d-objc

Cocos2d for iOS and OS X, built using Objective-C
http://www.cocos2d-objc.org
Other
4.07k stars 1.16k forks source link

How to create two separate views respectively according to different scenarios? #1389

Closed fengyecsg closed 7 years ago

fengyecsg commented 7 years ago

We want to use two independent view in the APP to show animation content, but now there is only one singleton CCDirector, excuse me is there a way to solve our needs?

s1ddok commented 7 years ago

Unfortunately not.

We have this implemented in v4 (see develop branch), but you have to be power user to use it. And you will also likely need to port your game code to a newer version + fix bugs when you catch them.

I use v4 in some of my projects, but that's a different story.