------------------------------------------------------------------ -- \author OTAKARA -- \date 2010/06/03 10:28:01 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- 背景描画ON IA_enableDrawStage(frame, 0); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d08/d08_2\.xfbin", "d08_2020"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 90, 45, 4, 640, 260); IA_setTimerLifeRecover(frame, 90, 10); IA_setTimerBonusCommand(frame, 90, false); -- 単発コマンド追加 IA_createCommand(frame, 90, 0, 490, 360, 45, "TRIANGLE"); IA_setCommandParam(frame, 90, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 90, 0, true, false); IA_setCommandSuccessLine(frame, 90, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 92, 1, 640, 360, 43, "TRIANGLE"); IA_setCommandParam(frame, 92, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 92, 1, true, false); IA_setCommandSuccessLine(frame, 92, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 94, 2, 790, 360, 41, "CIRCLE"); IA_setCommandParam(frame, 94, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 94, 2, true, false); IA_setCommandSuccessLine(frame, 94, 2, 100); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------