------------------------------------------------------------------ -- \author takeshita -- \date 2010/06/01 11:29:57 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d02/d02_3\.xfbin", "d02_3010"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 300, 40, 5, 640, 260); IA_setTimerLifeRecover(frame, 300, 10); IA_setTimerBonusCommand(frame, 300, false); -- 単発コマンド追加 IA_createCommand(frame, 300, 0, 565, 360, 40, "TRIANGLE"); IA_setCommandParam(frame, 300, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 300, 0, true, false); IA_setCommandSuccessLine(frame, 300, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 305, 1, 715, 360, 35, "CIRCLE"); IA_setCommandParam(frame, 305, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 305, 1, true, false); IA_setCommandSuccessLine(frame, 305, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 340); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- 字幕表示 IA_setCaption(frame, 46, 60, "V_IA_d02_09"); -- 字幕表示 IA_setCaption(frame, 138, 120, "V_IA_d02_10"); -- 字幕表示 IA_setCaption(frame, 349, 45, "V_IA_d02_12"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------