sprites changing size question

allc1865allc1865 Member, PRO Posts: 777

So I have two sets of sprites that I'm working with. One is the walking and the other is the attack.
My character walks fine at the size I want, but as soon as it switches to the attack animation, it shrinks.
This is because my frame size for the sprites for the walking and attack are different sizes.
So, instead of making every frame the same size, I wondered if there was an easier way to keep a consistent size of my frames in GameSalad?
Any help appreciated
thanks

Best Answer

  • GnarlyGnarly canadaPosts: 840
    edited February 2016 Accepted Answer

    I had the exact same problem. I changed attribute self width and self height during attack.

    So basically I enlarged the actor during attack and then normal size during running.

    In full motion it worked fine.

    If it detects collisions though you might have issues.

    But.....
    Really it's best to start with exact size of images.

Answers

Sign In or Register to comment.