Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Moving to a point halfway between two sprites.
- 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.
(x0+x1)/2, (y0+y1)/2 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?
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.
Finished my project. Thanks for helping. The finished product: https://scratch.mit.edu/projects/169575527/
- Discussion Forums
- » Help with Scripts
- » Moving to a point halfway between two sprites.