[BUG] 1.6.0 Sprite Atlas Animation 不明震动

Sprite animation 有不明的震动若用了 texturepacker 包的 sprite atlas。估计是 atlas 里的 offset 有问题。

在这些平台会有问题:

  • iOS chrome
  • iOS safari
  • iOS native

这些平台OK:

  • dekstop browser
  • creator simulator

看看测试项目: testSpriteAtlas.zip (1.4 MB)

英文 forum 同贴文:

http://discuss.cocos2d-x.org/t/bug-spriteatlas-animation-not-intended-vibrating/38798/2

//正版 无需偏移
// var offset = this.target.spriteFrame.getOffset();
// this.target.node.x = offset.x;
// this.target.node.y = offset.y;

texturePacker 版本问题。不太适用。后面买了正版,就不需要偏移了。

用了 trim optimisation 是优化啊兄弟,不可能有得优化不做是吧?更正版什么关系呢?

http://forum.cocos.com/t/1-5-1/48484 相同问题,召唤 @minggo

我今天重新用 iPhone 测试了一下,使用之前这里提到的提高精度确实就能修复: http://forum.cocos.com/t/topic/40483/50?u=jare
建议楼主手动修改下引擎,应该安卓上也是相同的问题。

我们会考虑统一修改引擎避免同类问题发生,谢谢反馈