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

#1 2010-01-21 04:00:25

kittenlols
Scratcher
Registered: 2010-01-21
Posts: 31

Problem with directions

I have it for moving, when down arrow is pressed, point in direction 180, move 10 steps, set guy1direction to direction.

For ball, it is
when flag clicked
|forever
||if touching guy1
|||point towards guy1direction
|||move 5 steps

However, it doesn't point towards guy1direction at all. The direction stays the same.

Offline

 

#2 2010-01-21 04:58:09

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Problem with directions

Hi Kittenlols, can you upload the project to the website? I'll see if I can help.  smile


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#3 2010-01-21 05:02:10

kittenlols
Scratcher
Registered: 2010-01-21
Posts: 31

Re: Problem with directions

http://scratch.mit.edu/projects/kittenlols/853439
Thanks for any help

Offline

 

#4 2010-01-21 05:07:41

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Problem with directions

Just use
[blocks]<point in direction(<{ guy1direction }>[/blocks]


instead of
[blocks]<point towards( <{ guy1direction }>[/blocks]


It should work.  big_smile


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#5 2010-01-21 19:21:16

kittenlols
Scratcher
Registered: 2010-01-21
Posts: 31

Re: Problem with directions

Thanks  smile

Offline

 

Board footer