Discuss Scratch

pjkincaid
New to Scratch
3 posts

Moving to a point halfway between two sprites.

I need help with telling a sprite to go to the point halfway between itself and a static point. The sprite will almost be constantly moving, so it will have to calculate it on its own. Help please?
gtoal
Scratcher
1000+ posts

Moving to a point halfway between two sprites.

pjkincaid wrote:

I need help with telling a sprite to go to the point halfway between itself and a static point. The sprite will almost be constantly moving, so it will have to calculate it on its own. Help please?
(x0+x1)/2, (y0+y1)/2

Just work out which blocks give you x and y for the sprite and the point.
pjkincaid
New to Scratch
3 posts

Moving to a point halfway between two sprites.

THANKYOU
pjkincaid
New to Scratch
3 posts

Moving to a point halfway between two sprites.

Finished my project. Thanks for helping. The finished product: https://scratch.mit.edu/projects/169575527/

Powered by DjangoBB