My code is as below, when I change TOUCH_ALL_AT_ONCE to TOUCH_ONE_BY_ONE it works.
> registerInput:function () {
> cc.log("registerInput function");
> this.touchlistener = cc.EventListener.create({
> event: cc.EventListener.TOUCH_ALL_AT_ONCE,
> swallowTouches: true,
> onTouchBegan: function(touches, event) {
> cc.log("Touch began");
> //return true so it swallow and doesnt allow other to receive touch
> cc.log( "Touches: " + touches.length);
> //swallow
> return true;
> }.bind(this),
> onTouchMoved: function(touches, event) {
>
> }.bind(this),
> onTouchEnded: function(touches, event) {
>
> }.bind(this)
> });
> // touch input
> cc.eventManager.addListener(this.touchlistener, this.node);