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

  • 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!

  • 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.

  • 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

  • Hi there, Alon,

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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • There's a similar thread about that, and someone answered me

    tinyurl.com/lze5mbf

  • 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!

    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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)