How do I STOP the Player when KICK then continue walking ?

Get help using Construct 2

Post » Fri Aug 15, 2014 8:38 am

Hey All!

Situation: The player is moving to the right while I hold the right arrow key with WALK animation loop.

This is what I want to do:
When I press the S button (while walking), the player animation change to KICK and stand on the place BUT I'm still holding the Right Arrow key so when the KICK animation ends I want the player to continue moving to the right with the WALK animation. :?

An explanation + capx file will be very helpful, thanks ahead!
B
10
S
1
G
1
Posts: 40
Reputation: 755

Post » Fri Aug 15, 2014 9:15 am

Can you show us where you got to so far? Do you have a capx you can show us?

It sounds like it might be a hierarchy of input problem, but I am not sure without seeing it.
B
7
S
1
Posts: 61
Reputation: 588

Post » Fri Aug 15, 2014 9:43 am

I really like this way of handling keyboardinput..

Made this example for somebody else on this forum..

all you'd have to do is make events for when keyboardinput is 6 - simulate pressing right, etcetera
You do not have the required permissions to view the files attached to this post.
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 » Fri Aug 15, 2014 9:48 am

Hi there, Alon,

I'm not entirely sure what you're going for, but how about something like this?
You do not have the required permissions to view the files attached to this post.
B
40
S
21
G
18
Posts: 153
Reputation: 12,308

Post » Fri Aug 15, 2014 9:49 am

Message: Wisdoms can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
There's a similar thread about that, and someone answered me
http://tinyurl.com/lze5mbf
B
21
S
6
Posts: 244
Reputation: 2,655

Post » Fri Aug 15, 2014 1:02 pm

purplemonkey wrote:Hi there, Alon,

I'm not entirely sure what you're going for, but how about something like this?


Thanks everybody for your kind helpful solutions! :D
Purplemonkey you got it! that's what I was looking for. I will try to mess with it with stand animation instead of run/walk when not pressed see if it will also work.
B
10
S
1
G
1
Posts: 40
Reputation: 755


Return to How do I....?

Who is online

Users browsing this forum: Sparkz and 2 guests