1 decade ago by fulvio
I am using CocoonJS on Android with the ImpactJS engine. Everything seems to be working fine, however if I scale my game to 2 then it takes an incredible amount of time to load my game as opposed to using a scale of 1.
If I use the following, the game loads very slowly:
Using a scale of 1 the game loads much much faster:
Why don't I use scale 1? Well when I do that my pixel perfect game looks all blurry and doesn't look as crisp as I'd like it to be.
The devices I've been using are Samsung Galaxy S2 and S3.
I was also confused as to what the resolution of the Androids are. I know that
I'm hoping someone has had experience with a pixel perfection game on an Android using CocoonJS.
If I use the following, the game loads very slowly:
ig.main('#canvas', MyGame, 60, 320, 180, 2);
Using a scale of 1 the game loads much much faster:
ig.main('#canvas', MyGame, 60, 320, 180, 1);
Why don't I use scale 1? Well when I do that my pixel perfect game looks all blurry and doesn't look as crisp as I'd like it to be.
The devices I've been using are Samsung Galaxy S2 and S3.
I was also confused as to what the resolution of the Androids are. I know that
284, 160
is what I use for iPhone 5 and anything below is 240, 160
. Even if I use a different width and height the load time issues and quality are still the same though.I'm hoping someone has had experience with a pixel perfection game on an Android using CocoonJS.