------------------------------------------------------------------ -- \author SUGATA -- \date 2010/06/01 11:42:46 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d05/d05_2\.xfbin", "d05_2010"); -- 背景描画ON IA_enableDrawStage(frame, 0); -- タイマー表示(位置指定) IA_setTimerEx(frame, 85, 45, 5, 640, 260); IA_setTimerLifeRecover(frame, 85, 10); IA_setTimerBonusCommand(frame, 85, false); -- 単発コマンド追加 IA_createCommand(frame, 85, 0, 565, 360, 45, "LEFT"); IA_setCommandParam(frame, 85, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 85, 0, true, false); IA_setCommandSuccessLine(frame, 85, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 90, 1, 715, 360, 40, "CROSS"); IA_setCommandParam(frame, 90, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 90, 1, true, false); IA_setCommandSuccessLine(frame, 90, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 140); -- 字幕表示 IA_setCaption(frame, 42, 50, "V_IA_d05_04"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------