sxe4ever
March 15th, 2011, 02:22 PM
I'm writing a game using a Java Applet and the game runs fine in every operating system except when I put sound into it. When the sound is put into it, it runs fine on every operating system (including Mac) except Ubuntu where it won't advance any further than where the sound clips are attempted to be played. I've edited the code where it now reads in the player's OS and if it's Linux it doesn't play the sound/music (still loads the files however), and it runs fine like this.
When I run the game through Eclipse the game runs, but the sound is delayed heavily if it plays at all, which it doesn't most of the time.
I'm not sure if it's related at all, but when when I try to run Windows using VirtualBox on Ubuntu the same thing happens.
If tried loading the sound files several different ways, with the most recent way being AudioClips.
I've read a number of places that it's a compatibility issue with Iced Tea because it uses OpenJDK or something, but I want the game to be compatible with Iced Tea so that it's compatible with as many computers as possible without having to have special customizations made to computers. I am not using the OpenJDK for Eclipse but the actual Sun release... Sorry, I forgot it's name.
Does anybody know what could be causing this??? Please & thank you for any information!!!!
When I run the game through Eclipse the game runs, but the sound is delayed heavily if it plays at all, which it doesn't most of the time.
I'm not sure if it's related at all, but when when I try to run Windows using VirtualBox on Ubuntu the same thing happens.
If tried loading the sound files several different ways, with the most recent way being AudioClips.
I've read a number of places that it's a compatibility issue with Iced Tea because it uses OpenJDK or something, but I want the game to be compatible with Iced Tea so that it's compatible with as many computers as possible without having to have special customizations made to computers. I am not using the OpenJDK for Eclipse but the actual Sun release... Sorry, I forgot it's name.
Does anybody know what could be causing this??? Please & thank you for any information!!!!