-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
We already have an implementation of multiple CCDirector instances in develop branch. There is stack type of situation.
While it seems to be a clever solution it might be confusing a little bit for newcomers that only want to have single Cocos2D instance to see something like
CCDirector pushDirector
CCDirector popDirector
That is why I guess we should discuss if there any other way to find a solution or at least syntax sugar for accessing the director.
I have a little bit of a thought on that. Right now every node having a reference to it's scene. Why not add director reference to the scene, so it can be accessed by:
node.scene.director
I think it can be useful sometimes, but that is of course debatable.