------------------------------------------------------------------ -- \author takeshita -- \date 2010/07/12 13:46:37 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d07/d07_2\.xfbin", "d07_2050"); -- タイマー表示 IA_setTimer(frame, 0, 35, 0); IA_setTimerLifeRecover(frame, 0, 5); IA_setTimerBonusCommand(frame, 0, false); -- 単発コマンド追加 IA_createCommand(frame, 0, 0, 640, 450, 35, "LEFT"); IA_setCommandParam(frame, 0, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 0, 0, true, false); IA_setCommandSuccessLine(frame, 0, 0, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 36, 0); IA_checkFailure(frame, 36); -- タイマー表示 IA_setTimer(frame, 87, 35, 0); IA_setTimerLifeRecover(frame, 87, 5); IA_setTimerBonusCommand(frame, 87, false); -- 単発コマンド追加 IA_createCommand(frame, 87, 1, 640, 540, 35, "UP"); IA_setCommandParam(frame, 87, 1, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 87, 1, true, false); IA_setCommandSuccessLine(frame, 87, 1, 100); -- コマンド失敗による中断NG分岐 IA_setBranchId(frame, 122, 1); IA_checkFailure(frame, 122); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2ssxbod1", "2ssx00t0\ eye_l"); -- テクスチャ切替 IA_changeTexture(frame, 0, 0, 1, "2ssxbod1", "2ssx00t0\ eye_r"); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------