------------------------------------------------------------------ -- \author OTAKARA -- \date 2010/06/03 10:10:57 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d03/d03_3\.xfbin", "d03_3011"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 0, 45, 4, 640, 260); IA_setTimerLifeRecover(frame, 0, 10); IA_setTimerBonusCommand(frame, 0, false); -- 単発コマンド追加 IA_createCommand(frame, 0, 1, 490, 360, 45, "TRIANGLE"); IA_setCommandParam(frame, 0, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 0, 1, true, false); IA_setCommandSuccessLine(frame, 0, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 2, 2, 640, 360, 43, "TRIANGLE"); IA_setCommandParam(frame, 2, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 2, 2, true, false); IA_setCommandSuccessLine(frame, 2, 2, 100); -- 単発コマンド追加 IA_createCommand(frame, 4, 3, 790, 360, 41, "CIRCLE"); IA_setCommandParam(frame, 4, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 4, 3, true, false); IA_setCommandSuccessLine(frame, 4, 3, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 50); -- 字幕表示 IA_setCaption(frame, 72, 60, "V_IA_d03_29"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------