Hi,
A playable character sprite has five different costume animations. The costume is currently determined by a global variable. So far the only way I can get the correct animations to play is by adding individual "set animation" events. I know there's a much more efficient way of doing this but can't get it to work.
You can do something like this:
Play animation "Walk_"&Costume
Play animation "Idle_"&Costume
Of course, you should name the animations properly for this to work.
Develop games in your browser. Powerful, performant & highly capable.
Many thanks dop2000, this is really helpful.