match animations frames

Get help using Construct 2

Post » Wed Oct 09, 2013 5:59 am

my char is divided in 2: waist down and waist up. This is so i can manage complex animations like walking and shooting, etc...

So, when my char goes to idle/stand animation, sometimes both part don't enter the state at the same time, making it look weird.

How do i tell one part: "get in this animation but in the same frame as the other sprite's animation"

and to make it more complex, some frames of the animation don't last 1 but 2 or 2. So, that would make it more difficult by having to match the inner times of the animation.
B
5
S
1
Posts: 92
Reputation: 609

Post » Wed Oct 09, 2013 9:49 am

I'm going to assume that this is happening because one animation is longer than the other. Just use some OnFinished events to ensure that both animations are finished before going to idle.
B
47
S
17
G
82
Posts: 2,232
Reputation: 48,611

Post » Wed Oct 09, 2013 6:50 pm

noup, this is cause sometimes you can shoot, and the shoot animation only happens in the upper half while the other half remains in the idle. So when the upper one returns to iddle it hardly coincides.
B
5
S
1
Posts: 92
Reputation: 609

Post » Wed Oct 09, 2013 7:09 pm

upperbody set animation : idle
upperbody set frame : lowerbody.animationframe
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Oct 10, 2013 3:05 am

[QUOTE=LittleStain] upperbody set animation : idle
upperbody set frame : lowerbody.animationframe[/QUOTE]

Worked!! thanks a lot!
B
5
S
1
Posts: 92
Reputation: 609


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests