Animation problem
Well its been a while since I've asked a question..... But a little while ago I made a set of animations but when I put them in the were animated but the streched and got ugly at certain points because it stayed the same size. Is it supposed to do this? If it is how would I be able to insert a animation where they didnt stretch and bloat they adjusted to the size of the next picture?
-Max
-Max
Best Answer
-
JohnPapiomitis Posts: 6,256
Your animation frames have to be in the same size . So if most of the frames are say 50x50 and a couple are 100x100, you have to make all your frames in a 100x100 canvas.
Answers
Each frame has to be a indiviudal .png
usually one makes all the images for an animation sequence in layers
start with a large enough size that will hold your largest image
draw your image
then duplicate that layer and make changes for another aspect/view of the image
keep duplicating the original layer and make changes on that image
(you can turn off the view for other layers)
that way you can be sure the size and positioning of the imageContent are correct
when done save and then save each layer as a separate .png image
if at some point you need a larger area for an image iteration… do not scale
… change the canvas size and center the images …
sounds hard … but you will get comfortable with doing it!
check out the images of the little blue guy in the GS Platformer Template for a great example.