Project stability

After upgrading, my tilemap no longer works in the browser. Out of curiosity, I created an example project to compare. On the browser, the example project’s mouse clicks seem completely broken. I can’t even enter the various examples from the menu because the mouse handling doesn’t work, let alone view the tilemap example.

Are there particular upgrade steps that need to be taken. I had 1.0.3 already installed before running the 1.1 installer. Running the 1.1 installer came without any prompts or dialogs so I have no idea what it did behind the scenes.

It’s a bit disturbing how a non-beta gets released in this state…

not all examples have been updated, it seems you’re describing the problem solved here:

to get the eventlisteners firing again you need to change self to self.node (the “this.node.on(cc.Node.EventType.” way of attaching eventhandlers is not affected by this change).

so you need to write:

cc.eventManager.addListener({
event: cc.EventListener.KEYBOARD,
onKeyPressed: function(keyCode, event) {
self._onKeyPressed(keyCode, event);
},
}, self.node);

instead of

cc.eventManager.addListener({
event: cc.EventListener.KEYBOARD,
onKeyPressed: function(keyCode, event) {
self._onKeyPressed(keyCode, event);
},
}, self);

cheers