C .
ODE
G
AMELET
Project Code
OPEN
HaskaAnimationDemo
Focus Issue
關於圖集sequence的問題
tonyo3o3 opened 8 months ago 2

大約是這樣

let ssclip = CG.Base.resourceManager.createSpritesheetMovieClip('xxx');
ssclip.info.addSequence('myAnim', ['0.png','1.png','2.png], 0.1);

其中ssclip.info是共用的資源,所以做一次就夠了,也可以在創ssclip之前就先做好


CG.Base.resourceManager.getSpriteSheetInfo('...').addSequence(...);
Items per page:
1 - 1 of 2
ⒸCode.Gamelet.com | Privacy Policy | Terms of Service