It looks like you're new here. If you want to get involved, click one of these buttons!
CustomSceneManager = Core.class(SceneManager) --this is OK stage:addChild(SceneManager.new()) -- this failed stage:addChild(CustomSceneManager.new()) >> Error: (Sprite expected, got table) |
Comments
If I include sceneManager to the project and copy paste your code it works without any error.
Thee must be something else causing this, are there any other code?
I forgot to add line:
Yes, I know .. I have to think more :-B
Thanks