1 decade ago by fugufish
so normally we call this to initialize the main game loop:
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)
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)