10 years ago by Rungo73
Hi there,
First up many thanks to everyone ho has helped me along the way so far. Very much appreciated and I've learnt a lot so far.
I have a question regarding image sizes and scaling.
I am developing a game to run on ios. Currently Ive made the graphics 1:1 and I do this in my main..
So that my game is always fullscreen. Trouble is my graphic files are way big. I'd like to make them all 75% smaller (they're pixel art so resizing isnt a drama) - so my 64px tile becomes 16px
How do I setup my main scaling so everything is scaled back up. Also I want to package with ejecta so would be geat if someone could explain best way to do this.
I don't have to worry about device orientation - my game is designed for portrait only.
Cheers,
Tom.
First up many thanks to everyone ho has helped me along the way so far. Very much appreciated and I've learnt a lot so far.
I have a question regarding image sizes and scaling.
I am developing a game to run on ios. Currently Ive made the graphics 1:1 and I do this in my main..
var scale = (window.innerWidth < 640) ? 2 : 1;
ig.main( '#canvas', MyMenu, 60, window.innerWidth * scale, window.innerHeight * scale, 1, ig.ImpactSplashLoader );
So that my game is always fullscreen. Trouble is my graphic files are way big. I'd like to make them all 75% smaller (they're pixel art so resizing isnt a drama) - so my 64px tile becomes 16px
How do I setup my main scaling so everything is scaled back up. Also I want to package with ejecta so would be geat if someone could explain best way to do this.
I don't have to worry about device orientation - my game is designed for portrait only.
Cheers,
Tom.