Page 2 of 2

Re: Problem with animation of character

PostPosted: Sat Jul 25, 2020 5:28 pm
by markonway
I put one more image on the right to test and work, before it was like impactjs was interpreting that the image was 4/4. I'm getting the hang of the character animation, I switched to a giant sheet with several character animations in the same image and I'm doing well. Thank you so much for everything. And if it is not too much trouble, I would like to ask one more question: Is it possible to enlarge the zoom screen? I mean, keeping the current screen resolution for example 1200x700

Re: Problem with animation of character

PostPosted: Sun Jul 26, 2020 6:05 pm
by hallsofvallhalla
I am not 100% sure what exactly you mean but in your main.js

Code: Select all
draw: function() {;
    ig.system.context.scale( 0.5, 0.5 );



Code: Select all
ig.system.width = ig.system.realWidth / 0.5;
ig.system.height = ig.system.realHeight / 0.5;