Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Joncom

Noticing a game is running smoothly and responsively in mobile Safari on iPhone 5.

But when the same game is packaged in Ejecta, it sees a significant performance drop, very slow FPS, and a generally unplayable experience.

This is very puzzling and, off the top of my head, I'm really not sure what to make of it.

Anyone had a similar experience?

1 decade ago by Joncom

It turned out to be an implementation issue with audio.

ig.music.add('path/to/audio/file.ogg') and
ig.music.play() were being called update
instead of just once in init.

Removing these lines resulted in a return to 60 FPS.

I suppose it worked fine in Safari, because it has no audio support.
Page 1 of 1
« first « previous next › last »