i created a game with different layers using cocosbuilder. So far it worked under cocos2d-iphone well. But under cocos2d-x v3.0 i cannot handle touch events. It seems there are noch handlers like
If i follow this post http://www.cocos2d-x.org/docs/manual/framework/html5/v3.0/eventManager/en and try to add a Listener then i get a
TypeError: cc.eventManager is undefined
onTouchesBegan anymore. How can i handle touch events now?
Another problem is that the
cc.PhysicsDebugNode doesn't shows up. I create and add it like that:
this._debugNode = cc.PhysicsDebugNode.create(this._space);
And i see, how the physics body interact on screen but i cannot see the shapes that normally are drawn by the physics node. I checked the cocos2d-x HTML5 API. There isn't even a doc about
Is it removed from the api? I would wonder about because i don't get an error under ios simulator.