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 Bradley

There's a performance hiccup that occurs the first time an instance of a class with a large sprite sheet renders to the canvas. Even if an instance has been spawned to an off-screen position, this still occurs the moment the first instance moves to an on-screen position and is drawn.

This was occurring at a high motion moment in the game where I didn't want any hiccups, so I made an instance of several different classes render on-screen, behind the game intro screen once, then they are removed. This works, but seems a little funky. Is there an easier way?

1 decade ago by Alexmtl

Yep I'm having same issue in Chrome as well. In IE10 seems fine. I guess I'll just fix it using your technique.
Page 1 of 1
« first « previous next › last »