请问现在还支持精灵反转显示吗?这个API没看懂!

flipX ( flip ) ActionInstant
X轴翻转。

名称 类型 描述
flip Boolean
Indicate whether the target should be flipped or not
返回:
类型: ActionInstant
示例:
var flipXAction = cc.flipX(true);
flipY ( flip ) ActionInstant
Y轴翻转。

名称 类型 描述
flip Boolean
返回:
类型: ActionInstant
示例:
var flipYAction = cc.flipY(true);

没人了?

node.setScaleX(-1);也能完美的实现你的要求。这个API还是别用了吧。

1赞

flipX, flipY 是动作,参考文档

http://cocos.com/docs/creator/scripting/actions.html

知道了,谢谢。

大神,牛逼。