0 Favourites

How do I change a set of animations being played

  • 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

  • Construct 3

    Buy Construct 3

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

    Buy 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)
Similar Topics Posts Views Last Post
Unread hot topic
1,941 263,266
FlyingRam's avatar
FlyingRam
Unread sticky
763 305,653
asikanddestroy's avatar
asikanddestroy
Unread hot topic Locked topic
195 16,197
Ashley's avatar
Ashley Construct Team Founder