Game Development Community

ITunes vs. Windows Media Player

by Christian Siebmanns · 04/27/2008 (8:43 am) · 3 comments

Hi,
I am currently working on the music functions for my next game. It's a bit too early to tell you details about the game itself, but I can tell you something about the game music. All my previous games didn't have background music, something that will change in the next game. The goal is to give the player the possibility to play his favorite music. For this I started looking around. There are some libraries on the internet, which are able to playback a lot of music formats. But there was nothing really fitting my needs. So, I decided to use something most users have already installed. I found two nice players, iTunes and the Windows Media Player. I started with iTunes. It was quite easy to get it play a song and to get information about this song. I thought that would be enough, but as I tried to put it in, nothing worked nicely. I played around a bit, but it seems to be that in this iTunes version most methods just do nothing. So, I started trying the same with the Windows Media Player. It took the whole day to find some useful information, but it works great. It's a lot faster than iTunes and the performance is a lot better, too. So, what are we going to see in the next game, you might ask. I think it's currently too early to say what music functions you will see, but if you have suggestions feel free to post them.

-Christian

#1
04/27/2008 (8:54 am)
You are trying to play your music in Windows Media Player while your game runs in Torque?
#2
04/27/2008 (8:54 am)
Try this music player for tge: tdn.garagegames.com/wiki/Audio/VMPlayer
Resource Link

For letting the player implement his/her/its own music you will need a folder browser for the system and an xml playlist or something flashy :)
#3
04/27/2008 (9:18 am)
@Matt:
I am currently playing around with some .net stuff, so no currently I don't run Torque.

EDIT: But I think it shouldn't be a problem to make this work in Torque.

@Abydos:
Thanks, I'll take a look at this.