------------------------------------------------------------------ -- \author OTAKARA -- \date 2010/06/03 10:42:28 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d09/d09_2\.xfbin", "d09_2090"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 0, 45, 5, 640, 460); IA_setTimerLifeRecover(frame, 0, 10); IA_setTimerBonusCommand(frame, 0, false); -- 単発コマンド追加 IA_createCommand(frame, 0, 0, 565, 560, 45, "TRIANGLE"); IA_setCommandParam(frame, 0, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 0, 0, true, false); IA_setCommandSuccessLine(frame, 0, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 5, 1, 715, 560, 40, "CIRCLE"); IA_setCommandParam(frame, 5, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 5, 1, true, false); IA_setCommandSuccessLine(frame, 5, 1, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 46); -- 背景描画ON IA_enableDrawStage(frame, 0); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- 字幕表示 IA_setCaption(frame, 0, 35, "V_IA_d09_21"); -- 字幕表示 IA_setCaption(frame, 50, 35, "V_IA_d09_22"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------