[]Laya.Animation.createFrames,用图集url加载的播放顺序不对,用图集Array加载的播放顺序对,咋回事?
Laya.Animation.createFrames,用图集url加载的播放顺序不对,用图集Array加载的播放顺序对,咋回事?
//播放正常
Laya.Animation.createFrames(["fish/fish_16/live_0.png","fish/fish_16/live_1.png","fish/fish_16/live_2.png","fish/fish_16/live_3.png","fish/fish_16/live_4.png","fish/fish_16/live_5.png","fish/fish_16/live_6.png","fish/fish_16/live_7.png","fish/fish_16/live_8.png","fish/fish_16/live_9.png","fish/fish_16/live_10.png","fish/fish_16/live_11.png","fish/fish_16/live_12.png","fish/fish_16/live_13.png","fish/fish_16/live_14.png","fish/fish_16/live_15.png","fish/fish_16/live_16.png","fish/fish_16/live_17.png","fish/fish_16/live_18.png","fish/fish_16/live_19.png","fish/fish_16/live_20.png","fish/fish_16/live_21.png","fish/fish_16/live_22.png","fish/fish_16/live_23.png"], "fish_live_16");
//播放不正常
Laya.Animation.createFrames("res/atlas/fish/fish_16.json", "fish_live_16");
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
Monica - 知识达人
赞同来自:
所以你看到的播放顺序就是不对的
laya21126
赞同来自: