------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 14:09:12 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d09/d09_3\.xfbin", "d09_3080"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 25, 62, 8, 640, 450); IA_setTimerLifeRecover(frame, 25, 5); IA_setTimerBonusCommand(frame, 25, false); -- 単発コマンド追加 IA_createCommand(frame, 25, 0, 415, 550, 62, "TRIANGLE"); IA_setCommandParam(frame, 25, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 25, 0, true, false); IA_setCommandSuccessLine(frame, 25, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 27, 1, 565, 550, 60, "TRIANGLE"); IA_setCommandParam(frame, 27, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 27, 1, true, false); IA_setCommandSuccessLine(frame, 27, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 29, 2, 715, 550, 58, "SQUARE"); IA_setCommandParam(frame, 29, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 29, 2, true, false); IA_setCommandSuccessLine(frame, 29, 2, 100); -- 単発コマンド追加 IA_createCommand(frame, 31, 3, 865, 550, 56, "CIRCLE"); IA_setCommandParam(frame, 31, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 31, 3, true, false); IA_setCommandSuccessLine(frame, 31, 3, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 89); -- タイマー表示 IA_setTimer(frame, 130, 35, 0); IA_setTimerLifeRecover(frame, 130, 5); IA_setTimerBonusCommand(frame, 130, false); -- 単発コマンド追加 IA_createCommand(frame, 130, 5, 640, 360, 35, "SQUARE"); IA_setCommandParam(frame, 130, 5, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 130, 5, true, false); IA_setCommandSuccessLine(frame, 130, 5, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 167); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------