------------------------------------------------------------------ -- \author fushimi -- \date 2010/06/01 16:16:24 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- 背景描画ON IA_enableDrawStage(frame, 0); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d04/d04_3\.xfbin", "d04_3080"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 0, 50, 4, 640, 260); IA_setTimerLifeRecover(frame, 0, 10); IA_setTimerBonusCommand(frame, 0, false); -- 単発コマンド追加 IA_createCommand(frame, 0, 1, 490, 360, 50, "RIGHT"); 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, 48, "SQUARE"); 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, 46, "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シーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------