------------------------------------------------------------------ -- \author odaka -- \date 2010/06/01 15:40:06 ------------------------------------------------------------------ -- start local id = ccGetScriptId(); -- IAシーン開始 function IA_SceneMain()local frame = ccIa_GetFrameCount(); -- メインアニメーション IA_createAnimation(frame, 0, 0, "data/ia/d07/d07_3\.xfbin", "d07_3010"); -- タイマー表示 IA_setTimer(frame, 119, 30, 0); IA_setTimerLifeRecover(frame, 119, 10); IA_setTimerBonusCommand(frame, 119, false); -- 単発コマンド追加 IA_createCommand(frame, 119, 0, 640, 360, 30, "LEFT"); IA_setCommandParam(frame, 119, 0, 0, 0, 1, 1, 100, 0); IA_setCommandInterrupt(frame, 119, 0, true, false); IA_setCommandSuccessLine(frame, 119, 0, 100); -- コマンド失敗による中断 IA_checkFailure(frame, 150); -- 背景描画ON IA_enableDrawStage(frame, 0); -- シーン切替時にパーティクルを消滅させる IA_particleAutoDel(frame); -- IAシーン終了 end -- end ------------------------------------------------------------------ -- EOF ------------------------------------------------------------------