How do I change a set of animations being played

0 favourites
  • 3 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hello

    I'm currently making a platformer game and one of its features is that, when you pick up an specific item your costume changes of color.

    Right now my animations are being called by, IE: Player_Base - [Platform is moving] \ Player_Mask - [set animation to: "Run_" & Player_Mask.aimDirection]

    My animation name in this case would be (Run_"aiming direction")

    Now I'm thinking of renaming my animations to (BlueSuit_Run_"aiming direction") , (RedSuit_Run_"aiming direction") , (GreenSuit_Run_"aiming direction")

    But I dont know how to call the animations for those specific set of names

    Thanks id advance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Done with a variable, you pick the item and you set the variable on the player or globally, i.e. blue=1, red=2, green=3.

    Then its Player_Base - Platform is moving

    condition: if variable=1 play animation bluesuit_run, if variable=2 play animation redsuit_run etc

  • Done with a variable, you pick the item and you set the variable on the player or globally, i.e. blue=1, red=2, green=3.

    Then its Player_Base - Platform is moving

    condition: if variable=1 play animation bluesuit_run, if variable=2 play animation redsuit_run etc

    Awesome, thanks man

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