Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Neikke on June 10, 2019, 08:31:50 PM
-
Hi,
I have a few destroyable objects in my game for crashing which, player gets some certain amount of score points. But I would also like to show it visually. So I was wondering what's the correct approach for making score amount (as text) popping up vertically and fading out slowly (or scaling from 100% to 0)
Should I create text inside Canvas group and then reference it from there in my FSM or any other ways around? Thanks!
-
Hi
For text its best to use canvas.
But to reference you can do from any fsm.
to fade you can use some ui color action and a float interpolate.
use the variable from the interpolate (min 0, max 1) on the alpha variable in the color action.
also turn on every frame on the ui color action
-
Sorry didn't get the point about referencing.. Could you please give some more info? Should I create ordinary text object inside my Main Canvas group and then drag this Text object to some UI action in Playmaker?