------------------------------------------------------------------ -- \author odaka -- \date 2010/05/31 20:01:32 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d09/d09_2\.xfbin", "d09_2100"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 45, 45, 4, 640, 360); IA_setTimerLifeRecover(frame, 45, 10); IA_setTimerBonusCommand(frame, 45, false); -- 単発コマンド追加 IA_createCommand(frame, 45, 0, 490, 460, 45, "SQUARE"); IA_setCommandParam(frame, 45, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 45, 0, true, false); IA_setCommandSuccessLine(frame, 45, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 47, 1, 640, 460, 43, "RIGHT"); IA_setCommandParam(frame, 47, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 47, 1, true, false); IA_setCommandSuccessLine(frame, 47, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 49, 2, 790, 460, 41, "CIRCLE"); IA_setCommandParam(frame, 49, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 49, 2, true, false); IA_setCommandSuccessLine(frame, 49, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 96); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------