------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 11:45:14 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- 背景描画ON IA_enableDrawStage(frame, 0); -- 字幕表示 IA_setCaption(frame, 0, 45, "V_IA_d04_29"); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d04/d04_3\.xfbin", "d04_3020"); -- タイマー表示 IA_setTimer(frame, 3, 38, 0); IA_setTimerLifeRecover(frame, 3, 5); IA_setTimerBonusCommand(frame, 3, false); -- 単発コマンド追加 IA_createCommand(frame, 3, 0, 640, 360, 38, "DOWN"); IA_setCommandParam(frame, 3, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 3, 0, true, false); IA_setCommandSuccessLine(frame, 3, 0, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 44); -- タイマー表示 IA_setTimer(frame, 55, 40, 0); IA_setTimerLifeRecover(frame, 55, 5); IA_setTimerBonusCommand(frame, 55, false); -- 単発コマンド追加 IA_createCommand(frame, 55, 1, 490, 360, 40, "UP"); IA_setCommandParam(frame, 55, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 55, 1, true, false); IA_setCommandSuccessLine(frame, 55, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 145); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------