This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-05-08 15:46:46

theham
Scratcher
Registered: 2009-12-06
Posts: 2

moving away

I want to know how to make a sprite move away from another moving sprite, any ideas?

Offline

 

#2 2010-05-08 15:51:04

DaGamez
Scratcher
Registered: 2010-04-18
Posts: 1000+

Re: moving away

(Sprite you want to move when near the other sprite) When green flag clicked forever if distance to (Sprite) <100 change move 10 steps.

Is that helpful?
Oh, and this goes in All About Scratch.


http://scratchhtmlviewer.net23.net/image.php?project=1229757&amp;user=DaGamez

Offline

 

#3 2010-05-08 16:30:27

wildplayer
Scratcher
Registered: 2008-08-01
Posts: 100+

Re: moving away

Dagamez way is the hard way, just have it point in the sprites direction and move -# steps.

Offline

 

#4 2010-05-08 16:39:56

DaGamez
Scratcher
Registered: 2010-04-18
Posts: 1000+

Re: moving away

wildplayer wrote:

Dagamez way is the hard way, just have it point in the sprites direction and move -# steps.

But I think he meant if he's near the sprite.


http://scratchhtmlviewer.net23.net/image.php?project=1229757&amp;user=DaGamez

Offline

 

Board footer