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

#1 2011-08-03 19:22:13

JackSquox
New Scratcher
Registered: 2011-06-02
Posts: 7

following

i'm making a game where i want a ball to follow right behind another bal. Can someone help me figure out code or something?

Offline

 

#2 2011-08-03 19:35:26

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: following

if you want the ball to move in a straight line, try

<repeat(x)>
<point towards( ball )>
<move( 10 )steps>

Last edited by Flait7 (2011-08-03 19:35:48)


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

Board footer