0 Favourites

How do I switch animations when a character is walking..

  • How do I switch animations when a character is walking and switch back when it stopped? and how to repeat them?

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • What have you used to move the character? Platform behaviour?

  • i used a template that construct had.

  • Hi LuckFoxReborn,

    my english is not the best, i hope you will understand

    First setup an idle and walk/run animation. you can do this when you double click on your player and you will see a screen with default, here you can add the animations.

    add the platform behavior to your player or - playerbox (not necessary)

    Go to your event sheet and setup your movement, like key 'd' is down simulate control to the left, and add action not mirrored, for the left you do the same but than set not mirrored to mirrored.

    ok, now thats done setup a trigger in your eventsheet

    'player - on moved'

    ok next you do is

    right click on it and add a sub event

    player - is on floor, right you see ''add action'' now add your player and ''set animation'' - you can do this - " - and you will see the animations that you setup, like idle and walk, choose walk.

    ok next,

    your guy need to rest, when he's not moving,

    go to the event sheet and select your player, add '' on stopped'' trigger

    right click on it and add an sub event, player is on floor, add action on the right and do this again " select idle.

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