------------------------------------------------------------------ -- \author takeshita -- \date 2010/06/16 9:36:07 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d03/d03_3\.xfbin", "d03_3021"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 42, 40, 5, 640, 260); IA_setTimerLifeRecover(frame, 42, 10); IA_setTimerBonusCommand(frame, 42, false); -- 単発コマンド追加 IA_createCommand(frame, 42, 1, 565, 360, 40, "CIRCLE"); IA_setCommandParam(frame, 42, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 42, 1, true, false); IA_setCommandSuccessLine(frame, 42, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 47, 2, 715, 360, 35, "R1"); IA_setCommandParam(frame, 47, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 47, 2, true, false); IA_setCommandSuccessLine(frame, 47, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 87); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------