------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 11:19:35 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d02/d02_2\.xfbin", "d02_2020"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 0, 30, 0, 640, 360); IA_setTimerLifeRecover(frame, 0, 4); IA_setTimerBonusCommand(frame, 0, false); -- 単発コマンド追加 IA_createCommand(frame, 0, 1, 640, 460, 30, "SQUARE"); IA_setCommandParam(frame, 0, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 0, 1, true, false); IA_setCommandSuccessLine(frame, 0, 1, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 30, 0); IA_checkFailure(frame, 30); -- タイマー表示(位置指定) IA_setTimerEx(frame, 80, 45, 5, 640, 260); IA_setTimerLifeRecover(frame, 80, 4); IA_setTimerBonusCommand(frame, 80, false); -- 単発コマンド追加 IA_createCommand(frame, 80, 2, 565, 360, 45, "RIGHT"); IA_setCommandParam(frame, 80, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 80, 2, true, false); IA_setCommandSuccessLine(frame, 80, 2, 100); -- 単発コマンド追加 IA_createCommand(frame, 85, 3, 715, 360, 40, "CIRCLE"); IA_setCommandParam(frame, 85, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 85, 3, true, false); IA_setCommandSuccessLine(frame, 85, 3, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 125, 1); IA_checkFailure(frame, 125); -- タイマー表示(位置指定) IA_setTimerEx(frame, 135, 40, 5, 640, 260); IA_setTimerLifeRecover(frame, 135, 4); IA_setTimerBonusCommand(frame, 135, false); -- 単発コマンド追加 IA_createCommand(frame, 135, 4, 565, 360, 40, "UP"); IA_setCommandParam(frame, 135, 4, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 135, 4, true, false); IA_setCommandSuccessLine(frame, 135, 4, 100); -- 単発コマンド追加 IA_createCommand(frame, 140, 5, 715, 360, 35, "CIRCLE"); IA_setCommandParam(frame, 140, 5, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 140, 5, true, false); IA_setCommandSuccessLine(frame, 140, 5, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 176, 1); IA_checkFailure(frame, 176); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------