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 fugufish

so normally we call this to initialize the main game loop:

ig.main('#canvas', MyGame, 60, 400, 200, 5, ig.ImpactSplashLoader);


can we call it again with a different width/height setting during the game? Need to re-load the game on the fly, with a different dimension (without refreshing the browser page)

1 decade ago by dominic

ig.system.resize() :)
Page 1 of 1
« first « previous next › last »