音樂特效.pptVIP

  • 9
  • 0
  • 约8.06千字
  • 约 33页
  • 2016-11-23 发布于天津
  • 举报
音樂特效

* 使用SoundEffect播放音效 SoundEffect soundEffect; // 一個SoundEffect物件 soundEffect = Content.LoadSoundEffect(chimes); soundEffect.Play(); * 使用SoundEffectInstance播放音效 SoundEffect soundEffect; SoundEffectInstance soundEffectInstance2; soundEffect = Content.LoadSoundEffect(chimes); soundEffectInstance = soundEffect.Play(); // 得到一個SoundEffectInstance 物件 soundEffectInstance.Stop(); // 播放 soundEffectInstance.Play(); // 停止播放 * The End * 2D / 3D 遊戲程式設計入門 使用 XNA 3.0 與 C# 第七章 音樂音效 * 本章目的 介紹如何在XNA中使用音樂音效 熟悉XACT開發工具的入門操作 熟悉XNA 3.0簡單的音樂音效播放方式 * 7.1 XACT工具 Cross-Platform Audio Creation Tool 用來產生音效專案相關檔案以

文档评论(0)

1亿VIP精品文档

相关文档