------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 11:33:17 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d03/d03_2\.xfbin", "d03_2050"); -- タイマー表示 IA_setTimer(frame, 29, 28, 0); IA_setTimerLifeRecover(frame, 29, 4); IA_setTimerBonusCommand(frame, 29, false); -- 単発コマンド追加 IA_createCommand(frame, 29, 0, 460, 280, 28, "LEFT"); IA_setCommandParam(frame, 29, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 29, 0, true, false); IA_setCommandSuccessLine(frame, 29, 0, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 57); -- タイマー表示 IA_setTimer(frame, 118, 30, 0); IA_setTimerLifeRecover(frame, 118, 4); IA_setTimerBonusCommand(frame, 118, false); -- 単発コマンド追加 IA_createCommand(frame, 118, 1, 640, 400, 30, "RIGHT"); IA_setCommandParam(frame, 118, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 118, 1, true, false); IA_setCommandSuccessLine(frame, 118, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 153); -- タイマー表示 IA_setTimer(frame, 186, 30, 0); IA_setTimerLifeRecover(frame, 186, 4); IA_setTimerBonusCommand(frame, 186, false); -- 単発コマンド追加 IA_createCommand(frame, 186, 3, 700, 420, 30, "DOWN"); IA_setCommandParam(frame, 186, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 186, 3, true, false); IA_setCommandSuccessLine(frame, 186, 3, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 225); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------