Discuss Scratch

DrakeErrico
Scratcher
7 posts

How do you make a sprite follow your cursor but more smoothly?

My dot sprite follows the cursor in a very jabby way.
deck26
Scratcher
1000+ posts

How do you make a sprite follow your cursor but more smoothly?

Hard to improve something when we can't compare alternatives - best to share your project.

But you probably want to point towards the mouse and move a fixed distance - eg 4 or 5 steps unless the sprite is within that distance of the mouse in which case just go to the mouse.
cybercode13
Scratcher
38 posts

How do you make a sprite follow your cursor but more smoothly?

I can help you
I already had this problem so i spent about 2 hours makeing a script that works with mouse problems look inside my grabbing project in shared and backpack the sprite that says MY VERSION just change the sprite and it still works
DrakeErrico
Scratcher
7 posts

How do you make a sprite follow your cursor but more smoothly?

https://scratch.mit.edu/projects/477005479

I added a trail effect, but I want it to follow the cursor more smooth, maybe more of like move towards cursor really fast instead of just teleporting to mouse.

Powered by DjangoBB