A question about enable/disable platform and animations...

0 favourites
  • 3 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hello guys i recently have a problem with disabling and enabling the platform behaviour:

    let me explain to you what i'm doing:

    1 (On jump) I disable the platform behaviour for the player.

    2 When the platform behaviour is disable, in the debug layout the animation mode still being "jumping".

    3 Now I use the behaviour moveto to move the player to another point

    4When I set the player platform behaviour to "enable", because it's still have the animation mode

    in "jumping", the player for a fraction of a second makes the "jumping animation" before going to "stopped".

    So my question is how can I change the animation mode to stopped or change the jumping mode when i'm moving the player?

    thanks guys

  • maranpis

    If you do "Set Platform vector Y to 0" that stops a jump, it might work here if you add that just before you disable the Platform behaviour.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • maranpis

    If you do "Set Platform vector Y to 0" that stops a jump, it might work here if you add that just before you disable the Platform behaviour.

    thanks for your answer OddConfection, it works

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