------------------------------------------------------------------ -- \author takeshita -- \date 2010/06/03 16:44:42 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d09/d09_2\.xfbin", "d09_2055"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 28, 40, 4, 640, 360); IA_setTimerLifeRecover(frame, 28, 10); IA_setTimerBonusCommand(frame, 28, false); -- 単発コマンド追加 IA_createCommand(frame, 28, 0, 490, 460, 40, "CIRCLE"); IA_setCommandParam(frame, 28, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 28, 0, true, false); IA_setCommandSuccessLine(frame, 28, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 30, 1, 640, 460, 38, "CIRCLE"); IA_setCommandParam(frame, 30, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 30, 1, true, false); IA_setCommandSuccessLine(frame, 30, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 32, 2, 790, 460, 36, "CIRCLE"); IA_setCommandParam(frame, 32, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 32, 2, true, false); IA_setCommandSuccessLine(frame, 32, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 68); -- 相手のパラメータ操作 IA_opParam(frame, 96, 12, 0); -- 相手のパラメータ操作 IA_opParam(frame, 136, 12, 0); -- 相手のパラメータ操作 IA_opParam(frame, 217, 12, 0); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------