I've checked this out and I think samples make the Java Applet slower. Is there some way to minimize the effect? It pause sometimes for more than 2 seconds on this computer and at school it pauses for 5.
Java Duck Hunt
Printable View
I've checked this out and I think samples make the Java Applet slower. Is there some way to minimize the effect? It pause sometimes for more than 2 seconds on this computer and at school it pauses for 5.
Java Duck Hunt
Its certainly pausing, you should send Francois the MFA file.
Thanks
Jason
What do you mean pause? The application freezes?
It stops for a few seconds every time you shoot. I pmed you the MFA file, Francois.
What is has to do with is the sounds :(
Its a problem I have with every java application that runs on my computer and have yet to be able to figure out what causes it.
So while I hope Francois can fix it -- since it happens for me in just about every java application (built with or not with MMF) I think its some setting or something and not really MMF.
but it would be nice to figure it out.
On my machine it seems it freezes every time a sound is launched while another one is already playing.
But I had it freezing also when only one sound was playing (less often though).
Sometimes Java needs to JIT-compile a lot of stuff and can make it pause, but that shouldn't take that long. (and only happen once for each area of the code, so it can't be that)
I do the best as I can for the sounds. I use the "prefetch" method that is supposed to prepare the sound for playing with less delay. Does not seem to work very well.
I also depends on the mobile phone.
This application is an applet, it's not a mobile application.Quote:
It also depends on the mobile phone.