------------------------------------------------------------------ -- \author takeshita -- \date 2010/06/01 12:01:23 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d07/d07_3\.xfbin", "d07_3110"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 80, 60, 4, 640, 260); IA_setTimerLifeRecover(frame, 80, 10); IA_setTimerBonusCommand(frame, 80, false); -- 単発コマンド追加 IA_createCommand(frame, 80, 0, 490, 360, 60, "UP"); IA_setCommandParam(frame, 80, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 80, 0, true, false); IA_setCommandSuccessLine(frame, 80, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 82, 1, 640, 360, 58, "TRIANGLE"); IA_setCommandParam(frame, 82, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 82, 1, true, false); IA_setCommandSuccessLine(frame, 82, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 84, 2, 790, 360, 56, "SQUARE"); IA_setCommandParam(frame, 84, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 84, 2, true, false); IA_setCommandSuccessLine(frame, 84, 2, 100); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- コマンド失敗による中断 IA_checkFailure(frame, 141); -- 字幕表示 IA_setCaption(frame, 0, 54, "V_IA_d07_37"); -- 字幕表示 IA_setCaption(frame, 57, 57, "V_IA_d07_38"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------