Animation changes a sprite's location ?

For questions about using Classic.

Post » Sun Apr 12, 2009 12:54 am

Well i set up an animation for a running character and i set my Y scrolling to the sprite and the animation changes the sprites location (some animation frames are a bit taller then the others) and therefore the camera or scroll view jumps everytime the animation plays.

How can i fix this ?
I tried changing the frames to the same height of the other frames but it didn't seem to work.
B
4
G
3
Posts: 39
Reputation: 1,003

Post » Sun Apr 12, 2009 12:59 am

Make sure their hotspots are relatively in the same location (such as all in the center of each image).
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sun Apr 12, 2009 1:43 am

[quote="Rich":zt6a3mkf]Make sure their hotspots are relatively in the same location (such as all in the center of each image).[/quote:zt6a3mkf]
How do i make sure they are in the same location ? I can't play animations within the editor. Can i ?
B
4
G
3
Posts: 39
Reputation: 1,003

Post » Sun Apr 12, 2009 6:09 am

You can click through the animation frames at the bottom, comparing the hotspot with the previous frame.

Here's a tip: Make sure your hotspots are aligned before you crop your frames, it makes lining them up much easier.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest