------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 13:47:11 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d07/d07_2\.xfbin", "d07_2080"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 0, 44, 5, 640, 260); IA_setTimerLifeRecover(frame, 0, 5); IA_setTimerBonusCommand(frame, 0, false); -- 単発コマンド追加 IA_createCommand(frame, 0, 0, 565, 360, 44, "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, 360, 39, "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, 45); -- タイマー表示 IA_setTimer(frame, 219, 50, 0); IA_setTimerLifeRecover(frame, 219, 5); IA_setTimerBonusCommand(frame, 219, false); -- 単発コマンド追加 IA_createCommand(frame, 219, 2, 640, 460, 50, "DOWN"); IA_setCommandParam(frame, 219, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 219, 2, true, false); IA_setCommandSuccessLine(frame, 219, 2, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 270); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2ssxbod1", "2ssx00t0\ eye_l"); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2ssxbod1", "2ssx00t0\ eye_r"); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2itcbod1", "2itc00t0\ eye_r"); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2itcbod1", "2itc00t0\ eye_l"); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- 字幕表示 IA_setCaption(frame, 41, 30, "V_IA_d07_09"); -- 字幕表示 IA_setCaption(frame, 212, 54, "V_IA_d07_10"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------