Scale text over time for a bouncy effect

How do I…

scale text over time for a bouncy effect?

What is the expected result

Each text item should start at a variable scale, 1. then without condition, they grow by 5 points until they hit a certain number, and stop. Ideally it would also shrink a bit and grow a bit to add a bounce effect, but I haven’t gotten that far.

What is the actual result

The text isn’t showing up at all, and my suspicion is that it’s just staying at scale 1.

Related screenshots

Hi,

in an event-block without condition your action is executed per frame. So your text object is getting out of bounds in less than a second.

You can animate your text with the scale actions but it won’t be a pleasant experience. I would suggest to try tweens instead.

Thanks for the note! Yeah, I can see how that would be a problem. Any advice on starting out with tweening? I know nothing about it lol :smiling_face_with_tear:

Idk if it makes much difference but I tried with tweening instead just now and seem to be having the same problem :confused:


I’m not sure if 300 is just not big enough or what, but my text isn’t showing up at all.

You are tweening the title over 2000 seconds at the moment.

I would also get rid of the two scale events below and make everything with tweens.

There are two example projects that can get you in the right direction. Here is an example for a title screen with tween animations. A bouncy text is in the right corner “example”:

And here is an example for tweening character size:

Thank you! I’ll try that next. The latest tutorial I watched said tweens were measured by milliseconds, which is why I put the value so high.

1 Like

Yes, the tutorial must be a bit older. Originally the tween duration was measured in milliseconds but later changed to seconds as this is more intuitive for most users.

1 Like