Discuss Scratch

cardinal7987
Scratcher
2 posts

Fluid Movement

I'm wondering what the best way to make a fluid movement system is, can anybody help???
footsocktoe
Scratcher
1000+ posts

Fluid Movement

cardinal7987 wrote:

I'm wondering what the best way to make a fluid movement system is, can anybody help???

Most fluid movement systems use particles, but in Scratch you are limited to 300 of them, so it would look more like flowing sand than a fluid.

You could use the pen to draw animation frames of a fluid flow.
Uniquename1
Scratcher
100+ posts

Fluid Movement

Or if you just mean smooth motion

foreverifkey right arrowpressed?thenchangexby5

is better than

whenkeypressedchangexby5

X and Y velocity variables can make it even better but have to be wound down as he comes to a stop. I'll see if i can find a link.

Link: https://wiki.scratch.mit.edu/wiki/Velocity

Last edited by Uniquename1 (Aug. 4, 2017 18:48:00)

Powered by DjangoBB