//SOLVED//How do I set the right jump-animation

Get help using Construct 2

Post » Tue Jul 07, 2015 1:05 pm

Hello guys,
I'm pretty new in Construct 2 and i've got a problem.
I'm currently building a game for training in Construct 2. The sprites I use are mostly Metroid: Zero Mission sprites.
But I don't know how to set the right animation. Samus spins correctly during the jump but how do I explain Construct that the "JumpFromRun" animation is uninterruptable?

Image
Last edited by WolfRamm on Tue Jul 07, 2015 9:43 pm, edited 1 time in total.
B
3
Posts: 4
Reputation: 183

Post » Tue Jul 07, 2015 1:22 pm

You could add another condition to Set animation to "jumpfromstand"

-> http://gyazo.com/f5549fd9119c509df23e178b18eb1db3 jumpfromrun is NOT playing

Regards
Patrick
B
19
S
7
G
1
Posts: 222
Reputation: 2,551

Post » Tue Jul 07, 2015 2:26 pm

I don't really understand you're advise but anyway it doesn't help.
The problem is: Samus' spinning (JumpFromRun) interrupts when she loses height. That's connected with the event "Player Box: Platform is falling: Set animation to InAir". But she is supposed to spin till she touches the ground. How can I solve this problem.
B
3
Posts: 4
Reputation: 183

Post » Tue Jul 07, 2015 3:14 pm

one solution could be:
you loop the spinning animation (set loop to yes)
you add a object variable "jumping" set it to 1
is on floor set objectvariable to 0

platform is falling AND objectvariable jumping = 0 then play animation falling

hope that helps
regards
B
19
S
7
G
1
Posts: 222
Reputation: 2,551

Post » Tue Jul 07, 2015 8:47 pm

Im so dumb and new in this engine, I don't really know how to insert object variables. I also don't understand your text.
B
3
Posts: 4
Reputation: 183

Post » Tue Jul 07, 2015 8:51 pm

Image Image
B
25
S
14
G
139
Posts: 876
Reputation: 72,510

Post » Tue Jul 07, 2015 9:41 pm

Ok i fixed it otherwise. I told the programm the following: If the PlayerBox is falling and the animation "JumpFromRun" isn't playing it sets the animation to "InAir". But anyway thanks for the replies. I'll see what I can learn about the Construct 2 variables in future. Image
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 39 guests