-1
所以我需要知道如果我的角色(鳥)hitTestObject與管道他在動畫結束後播放死亡動畫,它需要在遊戲結束時進入遊戲在主時間軸AS3如何在主時間軸中當角色死亡動畫結束時進入下一幀
(這個碼是在主時間軸層操作)
if (bird.hitTestObject(pipe1)) {
bird.gotoAndStop(3); //frame 3 = where the die animation is
}
LINK 1(在這裏,你看到不同的幀爲動畫幀3是模具動畫) http://gyazo.com/67381832827bfb8a4dac2452076a4217
LINK 2 (di Ë動畫) http://gyazo.com/bf5153a9d00e1478471fff7b73d0c592
所以在這裏你可以看到在動畫的結尾動畫有需要的代碼去遊戲結束幀的主要時間框架3
BTW它不是一個。至於文件,但在時間軸
謝謝你,如果你能幫助我,如果我的英語也不好抱歉,即時通訊荷蘭