Idle to jump / Running to jump

Get help using Construct 2

Post » Sun Jul 07, 2013 2:58 pm

Hello

Ive been looking for that in forum but i cant seem to have found it :/

iam stuck at animations again :S the hardest part for me. In this example player jumps and falls correctly when idle.

But i cant make player jump from running and falling properly, it seems its stuck at first frame of jump, not other frames and not fall animations...

AS BRIEF:

-I can make player jump, fall, land properly from IDLE
-I want to learn how to make player jump, fall and land properly from RUN

i tried;

on jump-player is moving
on jump-player is moving invert

Can somebody fix this for me please?

Thanks a lot, this is my capx

https://skydrive.live.com/redir?resid=7EA705F6D77A4916!346
B
22
S
5
G
2
Posts: 210
Reputation: 3,377

Post » Sun Jul 07, 2013 5:57 pm

Ah ive found this and i hope it ll help me :)

https://www.scirra.com/tutorials/253/how-to-make-a-platform-game/page-2

sorry for noob question
B
22
S
5
G
2
Posts: 210
Reputation: 3,377

Post » Sun Jul 07, 2013 9:30 pm

Always go through the tutorials first. They answer many of the beginning questions with construct.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,573

Post » Mon Jul 08, 2013 8:26 am

a yep, thanks for tip ^^
B
22
S
5
G
2
Posts: 210
Reputation: 3,377

Post » Mon Jul 08, 2013 10:53 am

I have always done this by using variables, have a Boolean of "idle" or something and have a different action for if true or if false, set the boolean to be true or false if player is running or not.
B
25
S
7
G
1
Posts: 83
Reputation: 2,550

Post » Tue Jul 09, 2013 1:56 pm

ok thanks you
B
22
S
5
G
2
Posts: 210
Reputation: 3,377


Return to How do I....?

Who is online

Users browsing this forum: Krakcz, shushpo and 8 guests