- Home /
How to make a "pop/boble" effect on buttons
Hello there,
I am trying to make a nice looking UI for my game, and i would like to apply a "bubbling" effect to my buttons.I cannot find a better word than bubbling - but it is really simple: when the buttons appear they should make a pop/bubble effect before reaching the correct size. It is an effect that is used in ALOT of games but i am not sure how to create it. I am thinking an underdamped function that is applied to the scale of the object but I have no idea of how to archieve this.
Thanks in advance, and i hope you understand the question, else ask and Ill try to do it better (but as i said - it is a really simple and common effect in games):)
Anders
You can make the effect with script using trigonometric functions (dampening sine wave) or you can just animate it using the animator component and animation panel.That would give you more control over the animation with a graph editor.
Your answer
Follow this Question
Related Questions
How can i create a time bubble effect ? 0 Answers
How to make SwayScript and Pistol Script work together 0 Answers
GetButton Problem 1 Answer
Loop a Function a Random Number of Times 2 Answers
Where can a Lerp be used? 2 Answers