Our tilemap is 300x18 tiles with a tilesize of 54px.
Yesterday we have done some tests and discovered the following things:
1) If we change the value “renderMode” in the cocos2d.js file from the default value 0 to 1 the menu works well and smoothly in all browsers (Chrome, IE, Firefox, Opera), but as soon as the tilemap is loaded the FPS rate drops down to 6-8FPS in Chrome! In Firefox the tilemap is not displayed! We have also tried to stop all actions and calculations so that only the tilemap is loaded, but there was no improvement!
2)We have tried to make a smaller tilemap with 20x18 tiles, then the it works on each browser well and smooth!
I have some questions:
1) Is it possible that our tilemap is to big?
2) Which “render mode” value should we use?
P.S: the SimpleAudioEngine does’nt work in Firefox since the 2.2.1 update! The game crashs with an Error: “this._ctx.createGainNode is not a function”.
I hope you (or anybody else) could help us.
Many thanks and best regards,