How do I use 2 keys in the same moment ?

Get help using Construct 2

Post » Sat Sep 12, 2015 7:52 pm

Hi guys, i still have the issue: if walking and during walk animation I press jump.....the jump animation will not be consided...only if I stand still and jump,...the jump animation is played. Can anyone post a useful help...here is the capx

https://www.facebook.com/download/88000 ... oblem.capx


please help me with a capx...it's 2 days that iam not solving this

thanks
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Sat Sep 12, 2015 8:12 pm

You need a separate event for when both keys are pressed.

if 'player object' is jumping + direction button is pressed > Set animation 'Jump'
B
9
S
3
Posts: 104
Reputation: 1,033

Post » Sun Sep 13, 2015 10:12 am

could u please modify the capx and show me...even image is ok... iam beginner...thanks
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Sun Sep 13, 2015 11:32 am

you start the jump but then you say "left keydown so play this animation" so the jump animation is cancelled
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sun Sep 13, 2015 11:45 am

sorry , can u show me a sample...how shall i do that ?
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Sun Sep 13, 2015 11:46 am

here is a very much cut down version

https://goo.gl/pyIgDA
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sun Sep 13, 2015 11:49 am

might also be worth going through the intro tutorials again to get back up to speed

https://www.scirra.com/tutorials/37/beg ... onstruct-2
https://www.scirra.com/tutorials/253/ho ... tform-game
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sun Sep 13, 2015 1:38 pm

but it is not working....when i walk and than jump...the jump animation is not there....
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Sun Sep 13, 2015 2:29 pm

sorry I appear to have linked back to your file :oops:

let's try again...

https://goo.gl/AbpRj8
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sun Sep 13, 2015 8:23 pm

thank so much :)
B
37
S
16
G
2
Posts: 451
Reputation: 4,873


Return to How do I....?

Who is online

Users browsing this forum: koops and 11 guests