------------------------------------------------------------------ -- \author SUGATA -- \date 2010/06/01 11:59:29 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d05/d05_3\.xfbin", "d05_3040"); -- タイマー表示(位置指定) IA_setTimerEx(frame, 180, 66, 6, 640, 260); IA_setTimerLifeRecover(frame, 180, 10); IA_setTimerBonusCommand(frame, 180, false); -- 単発コマンド追加 IA_createCommand(frame, 180, 0, 415, 360, 66, "TRIANGLE"); IA_setCommandParam(frame, 180, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 180, 0, true, false); IA_setCommandSuccessLine(frame, 180, 0, 100); -- 単発コマンド追加 IA_createCommand(frame, 182, 1, 565, 360, 64, "TRIANGLE"); IA_setCommandParam(frame, 182, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 182, 1, true, false); IA_setCommandSuccessLine(frame, 182, 1, 100); -- 単発コマンド追加 IA_createCommand(frame, 184, 2, 715, 360, 62, "CIRCLE"); IA_setCommandParam(frame, 184, 2, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 184, 2, true, false); IA_setCommandSuccessLine(frame, 184, 2, 100); -- 単発コマンド追加 IA_createCommand(frame, 186, 3, 865, 360, 60, "CROSS"); IA_setCommandParam(frame, 186, 3, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 186, 3, true, false); IA_setCommandSuccessLine(frame, 186, 3, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 255); -- 背景描画ON IA_enableDrawStage(frame, 0); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2sskbod1", "\*eye\*"); -- 字幕表示 IA_setCaption(frame, 32, 30, "V_IA_d05_47"); -- 字幕表示 IA_setCaption(frame, 62, 60, "V_IA_d05_48"); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------