How to make an animation that is triggered wherever the character is?

AleDev
Sat, 11 Sep 2021 21:43:17 +0000
Cinematics & Media

I’m trying to create a collectathon-style game and I want an animation to be triggered whenever the player collects certain items.
It’s not just a simple character animation, it would be a sequence involving camera animation, character animation and UI elements, something like when Mario collects a moon in Super Mario Odyssey:

How Long Did You Spend Watching the "You Got A Moon!" Animation During Mario Odyssey?

I know how to create a level sequence that plays a specific animation in the level, but that’s the problem: it’s specific. I want a generic animation that will be played wherever the character collects the collectible and works in any level in the game.

Any tips on how to go about doing that?

6 posts - 1 participant