------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 13:10:51 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d05/d05_3\.xfbin", "d05_3020"); -- 背景描画ON IA_enableDrawStage(frame, 0); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2sskbod1", "\*eye\*"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 10, 40, 5, 640, 260); IA_setTimerLifeRecover(frame, 10, 3); IA_setTimerBonusCommand(frame, 10, false); -- 単発コマンド追加 IA_createCommand(frame, 10, 0, 565, 360, 40, "RIGHT"); IA_setCommandParam(frame, 10, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 10, 0, true, false); IA_setCommandSuccessLine(frame, 10, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 15, 1, 715, 360, 35, "CIRCLE"); IA_setCommandParam(frame, 15, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 15, 1, true, false); IA_setCommandSuccessLine(frame, 15, 1, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 52, 2); IA_checkFailure(frame, 52); -- タイマー表示(位置指定) IA_setTimerEx(frame, 175, 40, 5, 640, 260); IA_setTimerLifeRecover(frame, 175, 3); IA_setTimerBonusCommand(frame, 175, false); -- 単発コマンド追加 IA_createCommand(frame, 175, 4, 565, 360, 40, "CROSS"); IA_setCommandParam(frame, 175, 4, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 175, 4, true, false); IA_setCommandSuccessLine(frame, 175, 4, 100); -- 単発コマンド追加 IA_createCommand(frame, 180, 5, 715, 360, 35, "CIRCLE"); IA_setCommandParam(frame, 180, 5, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 180, 5, true, false); IA_setCommandSuccessLine(frame, 180, 5, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 230, 1); IA_checkFailure(frame, 230); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------