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 wands

CocoonJS is fantastic. It runs 60fps on my game. I manage to get it to work on the launcher

But problem is the canvas size too big on my Ipad.

Is there anyway we can tell impactjs to auto resize itself to fit nicely on the ipad screen?

Or do I have to manually recreate the size?

1 decade ago by Joncom

When you create the game, maybe use window.innerWidth and window.innerHeight, so that the dimensions automatically fill the available screen.
Page 1 of 1
« first « previous next › last »