Closed zabumba69 closed 11 years ago
I fix it add: if ((this._originSize.width != 0) && (this._originSize.height != 0)) {
Example: if ((this._originSize.width != 0) && (this._originSize.height != 0)) { context.drawImage(this._sprite._texture, this._sprite._rect.origin.x + this._origin.x, this._sprite._rect.origin.y + this._origin.y, this._originSize.width, this._originSize.height, pos.x, -(pos.y + this._drawSize.height), this._originSize.width, this._originSize.height); }
Thank you! I will fix it soon.
It had been fixed, please check it and close this issue.
Hi, I ported my game to cocos2d-html5 and the game work fine in Chrome and Firefox, but on IE this is not working.
Follow the error:
DOM Exception: INDEX_SIZE_ERR (1) CCProgressTimer.js, line 300 character 21
I'm using Cocos2d-html5-v2.0.0
Thanks all!