------------------------------------------------------------------ -- \author SUGATA -- \date 2010/06/01 10:59:40 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d03/d03_3\.xfbin", "d03_3050"); -- タイマー表示 IA_setTimer(frame, 1, 35, 0); IA_setTimerLifeRecover(frame, 1, 10); IA_setTimerBonusCommand(frame, 1, false); -- 単発コマンド追加 IA_createCommand(frame, 1, 0, 640, 360, 35, "R1"); IA_setCommandParam(frame, 1, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 1, 0, true, false); IA_setCommandSuccessLine(frame, 1, 0, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 42); -- 字幕表示 IA_setCaption(frame, 50, 30, "V_IA_d03_31"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------