-
Creator 版本: 3.4.1
-
目标平台:pc google浏览器
-
重现方式:
@property(Sprite)
sp:Sprite;
// serializableDummy = 0;
start () {
// [3]
tween(this.sp.color).to(5,new Color(255,255,255,255)).delay(2).to(5,new Color(255,255,255,0)).union().start();
}
没有变化
Creator 版本: 3.4.1
目标平台:pc google浏览器
重现方式:
@property(Sprite)
sp:Sprite;
// serializableDummy = 0;
start () {
// [3]
tween(this.sp.color).to(5,new Color(255,255,255,255)).delay(2).to(5,new Color(255,255,255,0)).union().start();
}
没有变化
找到问题了
tween(this.sp).to(0.5,{color:new Color(255,255,255,255)}).delay(2).to(0.5,{color:new Color(255,255,255,0)}).start()
应该这么写
但是你这样写,颜色过渡是 R G B A 同时过渡哦
该主题在最后一个回复创建后14天后自动关闭。不再允许新的回复。