Hi I'm wondering could anyone shed some light onto how i would use SongCollection.
im looking to have a script that will run through random songs in a list and play one of the songs.
problem is i cant quite find any information online which is helping me much when i search for "SongCollection xna"
Any help is greatly appreciated. thanks
using SongCollection
Page 1 of 11 Replies - 523 Views - Last Post: 04 December 2012 - 01:51 AM
Replies To: using SongCollection
#2
Re: using SongCollection
Posted 04 December 2012 - 01:51 AM
Maybe the MSDN page for SongCollection will help. But I suppose that depends on your knowledge of C#, since it doesn't give any examples of how to use it.
Just like the name suggests, you use it as a collection of Song instances, accessed through an indexer. Once the collection is populated, if you get a random number within the range of the indexer and use MediaPlayer to Play that song, you should get it.
Post some code if you get stuck.
Just like the name suggests, you use it as a collection of Song instances, accessed through an indexer. Once the collection is populated, if you get a random number within the range of the indexer and use MediaPlayer to Play that song, you should get it.
Post some code if you get stuck.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|