------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 11:36:12 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d03/d03_3\.xfbin", "d03_3020"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 34, 80, 6, 640, 260); IA_setTimerLifeRecover(frame, 34, 5); IA_setTimerBonusCommand(frame, 34, false); -- 単発コマンド追加 IA_createCommand(frame, 34, 0, 490, 360, 80, "CROSS"); IA_setCommandParam(frame, 34, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 34, 0, true, false); IA_setCommandSuccessLine(frame, 34, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 36, 1, 640, 360, 78, "CIRCLE"); IA_setCommandParam(frame, 36, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 36, 1, true, false); IA_setCommandSuccessLine(frame, 36, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 38, 3, 790, 360, 76, "CIRCLE"); IA_setCommandParam(frame, 38, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 38, 3, true, false); IA_setCommandSuccessLine(frame, 38, 3, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 117); -- タイマー表示(位置指定) IA_setTimerEx(frame, 235, 55, 6, 640, 260); IA_setTimerLifeRecover(frame, 235, 5); IA_setTimerBonusCommand(frame, 235, false); -- 単発コマンド追加 IA_createCommand(frame, 235, 4, 490, 360, 55, "SQUARE"); IA_setCommandParam(frame, 235, 4, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 235, 4, true, false); IA_setCommandSuccessLine(frame, 235, 4, 100); -- 単発コマンド追加 IA_createCommand(frame, 237, 5, 640, 360, 53, "TRIANGLE"); IA_setCommandParam(frame, 237, 5, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 237, 5, true, false); IA_setCommandSuccessLine(frame, 237, 5, 100); -- 単発コマンド追加 IA_createCommand(frame, 239, 6, 790, 360, 51, "CIRCLE"); IA_setCommandParam(frame, 239, 6, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 239, 6, true, false); IA_setCommandSuccessLine(frame, 239, 6, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 293); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------