------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 13:17:39 ------------------------------------------------------------------ -- 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_2020"); -- タイマー表示 IA_setTimer(frame, 10, 40, 0); IA_setTimerLifeRecover(frame, 10, 5); IA_setTimerBonusCommand(frame, 10, false); -- 単発コマンド追加 IA_createCommand(frame, 10, 0, 640, 360, 40, "LEFT"); 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, 59); -- タイマー表示 IA_setTimer(frame, 60, 40, 0); IA_setTimerLifeRecover(frame, 60, 5); IA_setTimerBonusCommand(frame, 60, false); -- 単発コマンド追加 IA_createCommand(frame, 60, 1, 640, 360, 40, "UP"); IA_setCommandParam(frame, 60, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 60, 1, true, false); IA_setCommandSuccessLine(frame, 60, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 111); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------