Discuss Scratch

slothyhugs256
Scratcher
100+ posts

Bounce effect in Animation

I'm doing this zooming in thing in my animation, where a sprite gets zoomed in like this:
repeat10changesizeby10wait0.02secs

But I want to add a bit of bounce to it, like in clicker games. Does anyone know how to code it so it turns out smooth and bubbly?
slothyhugs256
Scratcher
100+ posts

Bounce effect in Animation

slothyhugs256 wrote:

But I want to add a bit of bounce to it, like in clicker games.

Maybe a small rotation too, like
turn#degreesturn#degrees
theashbreather
Scratcher
88 posts

Bounce effect in Animation

https://scratch.mit.edu/projects/42388036/
Try this project.
But replace the touching mouse pointer and not pointing mouse pointer to when the button is clicked and the mouse is hovering over it.

For rotation, just set its direction to the function sin of a variable that is constantly increasing at a proportionate rate. For example look at the mcdonalds sprite in this project: https://scratch.mit.edu/projects/754772544/

Also try to not make duplicate topics. Keeping all your stuff in one topic is very nice.

Last edited by theashbreather (Dec. 19, 2024 06:23:03)

Powered by DjangoBB