Spine.js :1653 var timeline = new spine.FfdTimeline(values.length) FfdTimeline 在哪儿??
顶,为什么这种重要的问题没有人来回答。
大概是还没写完吧。但是,没写完为什么要发布出去呢?对吧
H5版本,骨骼动画根本无法使用,CCSkin里面使用
this.setRotationX(cc.radiansToDegrees(skinData.skewX));
this.setRotationY(cc.radiansToDegrees(-skinData.skewY));
而
* Sets the X rotation (angle) of the node in degrees which performs a horizontal rotational skew. <br/>
*
(support only in WebGL rendering mode)
在Node的底层实现中也只使用了_rotationX
if (node._rotationX) {
var rotationRadiansX = node._rotationX * 0.017453292519943295; //0.017453292519943295 = (Math.PI / 180); for performance
Cos = Math.cos(rotationRadiansX);
Sin = Math.sin(rotationRadiansX);
}
H5 canvas渲染模式下确实有很多限制,这个是没办法的事,canvas2d只能绘制矩形图片,只能实现简单的平移缩放旋转还有倾斜