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

#1 2011-12-01 08:44:36

touellette16
New Scratcher
Registered: 2011-12-01
Posts: 2

Help!

How do I make one sprite (sprite 1) follow another sprite (sprite 2)?

Offline

 

#2 2011-12-01 09:56:49

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help!

This is the script for sprite 2

-when green flag clicked
-forever
  -point towards(sprite 1)
  -move(10)steps

Last edited by JJROCKER (2011-12-01 09:57:40)


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#3 2011-12-01 10:24:10

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Help!

Yes, JJROCKER got it spot on. You can change the speed it goes at by increasing or decreasing the number in the 'Move () steps' block.  smile


Why

Offline

 

#4 2011-12-01 10:58:25

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Help!

I just quickly whipped this up:
http://dl.dropbox.com/u/6274273/follow.gif
big_smile


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#5 2011-12-01 18:29:32

touellette16
New Scratcher
Registered: 2011-12-01
Posts: 2

Re: Help!

JJROCKER wrote:

This is the script for sprite 2

-when green flag clicked
-forever
  -point towards(sprite 1)
  -move(10)steps

Isn't that the script for sprite 1?

Offline

 

#6 2011-12-01 19:31:18

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help!

touellette16 wrote:

JJROCKER wrote:

This is the script for sprite 2

-when green flag clicked
-forever
  -point towards(sprite 1)
  -move(10)steps

Isn't that the script for sprite 1?

This is for the sprite that follows the other one.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

#7 2011-12-01 20:05:58

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Help!

I find this to be the best method.


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#8 2011-12-03 21:51:31

JJROCKER
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Help!

Did you get it working?


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://img255.imageshack.us/img255/3491/signature1y.jpg&link2=http://img577.imageshack.us/img577/5272/signature1sx.jpg&link3=http://img4.imageshack.us/img4/8514/signature1et.jpg&link4=http://i.imgur.com/POEpQyZ.png&link5=http://img163.imageshack.us/img163/4640/jjrockerfinal.jpg

Offline

 

Board footer