------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 14:29:33 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d01/d01_3\.xfbin", "d01_3020"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 0, 65, 4, 640, 360); IA_setTimerLifeRecover(frame, 0, 5); IA_setTimerBonusCommand(frame, 0, false); -- 単発コマンド追加 IA_createCommand(frame, 0, 0, 490, 460, 65, "TRIANGLE"); IA_setCommandParam(frame, 0, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 0, 0, true, false); IA_setCommandSuccessLine(frame, 0, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 2, 1, 640, 460, 63, "TRIANGLE"); IA_setCommandParam(frame, 2, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 2, 1, true, false); IA_setCommandSuccessLine(frame, 2, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 4, 2, 790, 460, 61, "CIRCLE"); IA_setCommandParam(frame, 4, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 4, 2, true, false); IA_setCommandSuccessLine(frame, 4, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 90); -- 字幕表示 IA_setCaption(frame, 5, 60, "V_IA_d01_44"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------