PlayMusic causes game to get REALLY choppy
Monkey Targets Forums/Android/PlayMusic causes game to get REALLY choppy
| ||
I don't know what's going on, but if I add PlayMusic and a small music file (256Kb ogg) at the beginning of the program, the game runs REALLY choppy on the device. Has anyone had a problem with this? I'm using v66 |
| ||
I'll add that I'm running at 60FPS, and even if I lower it to 30FPS, I'm finding that it still causes the game to freeze here and there. The choppiness is very random. |
| ||
Hmm... I don't have that problem. I've used mp3 and ogg, both play well and the app reacts normal. What specific device do you use? |
| ||
I'm using a galaxy tab 7" When a sound plays, it makes the whole app stutter for a second too, making sound fx ruin the experience. But I think you're right, it's not Monkey, it's probably the device. After re-booting it did get a little better, so it must all stem from the hardware. |
| ||
i test mine on a galaxy tab 7" and ive never experienced this problem. |
| ||
Are you only calling PlayMusic once? I normally do something like this: 1. Setup Screen 2. Play Music 3. Loop So that PlayMusic is only played once per screen. |
| ||
Yes, it's only called once, and before the first menu screen shows too. |