------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 13:33:08 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d06/d06_3\.xfbin", "d06_3070"); -- タイマー表示 IA_setTimer(frame, 22, 28, 0); IA_setTimerLifeRecover(frame, 22, 4); IA_setTimerBonusCommand(frame, 22, false); -- 単発コマンド追加 IA_createCommand(frame, 22, 0, 640, 360, 28, "LEFT"); IA_setCommandParam(frame, 22, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 22, 0, true, false); IA_setCommandSuccessLine(frame, 22, 0, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 52); -- タイマー表示 IA_setTimer(frame, 55, 28, 0); IA_setTimerLifeRecover(frame, 55, 4); IA_setTimerBonusCommand(frame, 55, false); -- 単発コマンド追加 IA_createCommand(frame, 55, 1, 640, 360, 28, "RIGHT"); IA_setCommandParam(frame, 55, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 55, 1, true, false); IA_setCommandSuccessLine(frame, 55, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 85); -- タイマー表示(位置指定) IA_setTimerEx(frame, 100, 76, 6, 640, 260); IA_setTimerLifeRecover(frame, 100, 4); IA_setTimerBonusCommand(frame, 100, false); -- 単発コマンド追加 IA_createCommand(frame, 100, 2, 415, 360, 76, "LEFT"); IA_setCommandParam(frame, 100, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 100, 2, true, false); IA_setCommandSuccessLine(frame, 100, 2, 100); -- 単発コマンド追加 IA_createCommand(frame, 102, 3, 565, 360, 74, "TRIANGLE"); IA_setCommandParam(frame, 102, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 102, 3, true, false); IA_setCommandSuccessLine(frame, 102, 3, 100); -- 単発コマンド追加 IA_createCommand(frame, 104, 4, 715, 360, 72, "TRIANGLE"); IA_setCommandParam(frame, 104, 4, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 104, 4, true, false); IA_setCommandSuccessLine(frame, 104, 4, 100); -- 単発コマンド追加 IA_createCommand(frame, 106, 5, 865, 360, 70, "CIRCLE"); IA_setCommandParam(frame, 106, 5, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 106, 5, true, false); IA_setCommandSuccessLine(frame, 106, 5, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 180); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------