------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 11:25:22 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d02/d02_3\.xfbin", "d02_3040"); -- タイマー表示 IA_setTimer(frame, 20, 45, 0); IA_setTimerLifeRecover(frame, 20, 5); IA_setTimerBonusCommand(frame, 20, false); -- 単発コマンド追加 IA_createCommand(frame, 20, 3, 640, 360, 45, "UP"); IA_setCommandParam(frame, 20, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 20, 3, true, false); IA_setCommandSuccessLine(frame, 20, 3, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 65, 0); IA_checkFailure(frame, 65); -- タイマー表示(位置指定) IA_setTimerEx(frame, 292, 45, 5, 640, 260); IA_setTimerLifeRecover(frame, 292, 5); IA_setTimerBonusCommand(frame, 292, false); -- 単発コマンド追加 IA_createCommand(frame, 292, 1, 565, 360, 45, "TRIANGLE"); IA_setCommandParam(frame, 292, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 292, 1, true, false); IA_setCommandSuccessLine(frame, 292, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 297, 2, 715, 360, 40, "CIRCLE"); IA_setCommandParam(frame, 297, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 297, 2, true, false); IA_setCommandSuccessLine(frame, 297, 2, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 339, 1); IA_checkFailure(frame, 339); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- 字幕表示 IA_setCaption(frame, 21, 96, "V_IA_d02_18"); -- 字幕表示 IA_setCaption(frame, 147, 15, "V_IA_d02_19"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------