------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 11:18:30 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d02/d02_2\.xfbin", "d02_2010"); -- タイマー表示 IA_setTimer(frame, 145, 40, 0); IA_setTimerLifeRecover(frame, 145, 5); IA_setTimerBonusCommand(frame, 145, false); -- 単発コマンド追加 IA_createCommand(frame, 145, 0, 640, 360, 40, "RIGHT"); IA_setCommandParam(frame, 145, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 145, 0, true, false); IA_setCommandSuccessLine(frame, 145, 0, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 185); -- タイマー表示 IA_setTimer(frame, 220, 35, 0); IA_setTimerLifeRecover(frame, 220, 5); IA_setTimerBonusCommand(frame, 220, false); -- 単発コマンド追加 IA_createCommand(frame, 220, 1, 640, 360, 35, "UP"); IA_setCommandParam(frame, 220, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 220, 1, true, false); IA_setCommandSuccessLine(frame, 220, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 255); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- 字幕表示 IA_setCaption(frame, 0, 90, "V_IA_d02_01"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------