------------------------------------------------------------------ -- \author takeshita -- \date 2010/06/17 10:44:46 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d09/d09_2\.xfbin", "d09_2030"); -- 背景描画ON IA_enableDrawStage(frame, 0); -- タイマー表示(位置指定) IA_setTimerEx(frame, 1, 50, 4, 640, 350); IA_setTimerLifeRecover(frame, 1, 10); IA_setTimerBonusCommand(frame, 1, false); -- 単発コマンド追加 IA_createCommand(frame, 1, 0, 490, 450, 50, "DOWN"); 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_createCommand(frame, 3, 1, 640, 450, 48, "TRIANGLE"); IA_setCommandParam(frame, 3, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 3, 1, true, false); IA_setCommandSuccessLine(frame, 3, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 5, 2, 790, 450, 46, "CIRCLE"); IA_setCommandParam(frame, 5, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 5, 2, true, false); IA_setCommandSuccessLine(frame, 5, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 67); -- 相手のパラメータ操作 IA_opParam(frame, 109, 24, 0); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------