Sub-Animations

For questions about using Classic.

Post » Thu Mar 03, 2011 4:23 pm

How do subanimations work exactly? The way I'm thinking about them now, I find it strange that you still need at least 1 animation/angle for the "main category" (not allowed to remove).

For example, I want to have an animation called Walking, and 4 sub-animations called Up, Down, Left, Right. Walking is completely described by these 4 sub animations, so I shouldn't have any animation in the main category Walking, but I'm forced to have one.

Also, the events/actions don't care whether an animation is a sub-animation or not, you just need to specify the animation name. So what exactly is the point of sub-animations, and when should I use them?

Thanks.
B
5
S
1
G
3
Posts: 59
Reputation: 993

Post » Sun Mar 20, 2011 9:07 am

bump
B
2
G
2
Posts: 24
Reputation: 698

Post » Sun Mar 20, 2011 11:17 am

One way of using them is to have variations to a certain animation. The base animation could be for example a straight walking, some sub-animation could then be a drunken walk, a silly walk, a happy walk, etc, whatever comes to mind.

Or think of the many games where a character makes some funny things if you let it stand too long without playing. Your character could start sleeping or using a fishing rod or doing some stretching exercises, etc. That would all be variations of the standard standing animation.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Sun Mar 20, 2011 11:27 am

What if I don't want anything at all in the "main" category?
Also, is there anything I should be aware of when I make events regarding sub-animations? Or do I simply just use the animation name as normal (meaning that organising into sub-animations is just for our own organisation purposes, and Construct doesn't really care much about this structure)?
Thanks.
B
5
S
1
G
3
Posts: 59
Reputation: 993

Post » Sun Mar 20, 2011 6:23 pm

When I tried using them recently, the only way I could get them to work was by setting the animation to the main animation first, and THEN the sub-animation. So if you wanted to use a "Fast Walk" under the "Walk" animation, you had to do this:

Set animation to "Walk"
Set animation to "Fast Walk"

Maybe I was just doing it wrong, but if I tried to set it to Fast Walk first, it wouldn't work at all.
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Thu Sep 08, 2011 8:20 pm

please be more specific
upload a image of event editor

thanks
B
45
S
9
G
10
Posts: 194
Reputation: 8,165

Post » Thu Sep 08, 2011 10:29 pm

[QUOTE=SullyTheStrange] When I tried using them recently, the only way I could get them to work was by setting the animation to the main animation first, and THEN the sub-animation. So if you wanted to use a "Fast Walk" under the "Walk" animation, you had to do this:

Set animation to "Walk"
Set animation to "Fast Walk"

Maybe I was just doing it wrong, but if I tried to set it to Fast Walk first, it wouldn't work at all.[/QUOTE]

Sounds about right, I don't think there are any other ways to do it.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests