------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 13:18:07 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- 背景描画ON IA_enableDrawStage(frame, 0); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d06/d06_2\.xfbin", "d06_2040"); -- タイマー表示 IA_setTimer(frame, 10, 40, 0); IA_setTimerLifeRecover(frame, 10, 5); IA_setTimerBonusCommand(frame, 10, false); -- 単発コマンド追加 IA_createCommand(frame, 10, 0, 640, 360, 40, "UP"); IA_setCommandParam(frame, 10, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 10, 0, true, false); IA_setCommandSuccessLine(frame, 10, 0, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 53); -- タイマー表示(位置指定) IA_setTimerEx(frame, 65, 40, 4, 640, 260); IA_setTimerLifeRecover(frame, 65, 5); IA_setTimerBonusCommand(frame, 65, false); -- 単発コマンド追加 IA_createCommand(frame, 65, 0, 490, 360, 40, "CIRCLE"); IA_setCommandParam(frame, 65, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 65, 0, true, false); IA_setCommandSuccessLine(frame, 65, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 67, 1, 640, 360, 38, "CIRCLE"); IA_setCommandParam(frame, 67, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 67, 1, true, false); IA_setCommandSuccessLine(frame, 67, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 69, 2, 790, 360, 36, "CROSS"); IA_setCommandParam(frame, 69, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 69, 2, true, false); IA_setCommandSuccessLine(frame, 69, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 110); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------