follow cursor (also includes a glide):
[forever]
[go to X: ( ( (mouseX) / (10) ) ) Y: ( ( (mouseY) / (10) ) ) )]
color sensing:
[forever]
[if <touching color [] >]
[broadcast {whatever}]
Offline
Take a look at this project...it has a sprite chasing the mouse.
http://scratch.mit.edu/projects/Paddle2SeeFixIt/245687
Offline
when green flag clicked
forever
go to [mouse-pointer]
(to go to the mouse pointer)
or
forever
point towards [mouse-pointer]
move (5) steps
(to follow the cursor)
when green flag clicked
forever
if < touching color [ ] >
broadcast [ blah ]
Last edited by coolstuff (2008-09-07 08:41:49)
Offline