------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/01 13:16:34 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d05/d05_2\.xfbin", "d05_2030"); -- 背景描画ON IA_enableDrawStage(frame, 0); -- タイマー表示(位置指定) IA_setTimerEx(frame, 21, 44, 4, 640, 400); IA_setTimerLifeRecover(frame, 21, 10); IA_setTimerBonusCommand(frame, 21, false); -- 単発コマンド追加 IA_createCommand(frame, 21, 0, 490, 500, 44, "CROSS"); IA_setCommandParam(frame, 21, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 21, 0, true, false); IA_setCommandSuccessLine(frame, 21, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 23, 1, 640, 500, 42, "CIRCLE"); IA_setCommandParam(frame, 23, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 23, 1, true, false); IA_setCommandSuccessLine(frame, 23, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 25, 2, 790, 500, 40, "CIRCLE"); IA_setCommandParam(frame, 25, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 25, 2, true, false); IA_setCommandSuccessLine(frame, 25, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 80); -- 相手のパラメータ操作 IA_opParam(frame, 90, 100, 0); -- 字幕表示 IA_setCaption(frame, 315, 70, "V_IA_d05_22"); -- UIフェードアウト IA_uiFadeOut(frame, 250); -- シークレットファクタ用UIフェードアウト IA_uiFadeOutSecretFactor(frame, 250); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------