If (trackToPlay = _currentlyPlayingTrack) To properly dispose them, I have a separate ContentManager just for music and a method that looks like this: public void PlayMusic(MusicTracks trackToPlay) I don't want to load them all into memory, but play them on demand. I'm working on a (Windows-only) game in XNA, and I have multiple music tracks.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |