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

#1 2009-11-13 18:07:14

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

the forever block isn't working!?!?!

ok so i have this script for a ball:
[blocks]<when green flag clicked>
<forever if><< <touching[ mouse pointer] <and> <mouse down?> >>
<point in direction((( -1 <*> <mouse y> ))
<set{ speed }to( <distance to[ mouse pointer)[/blocks]

but the thing is it only changed the direction and speed the first time you click the ball, and if you move the mouse around while still having having the mouse down, nothing changes. any suggestions as to what i should do?

Last edited by funkymonkey (2009-11-13 18:07:30)


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#2 2009-11-14 01:10:10

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: the forever block isn't working!?!?!

Um... maybe change the "forever if" into a "forever
                                                             if"?

I think I've seen this before somewhere, and that was the way to fix it.  hmm


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#3 2009-11-14 12:24:33

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: the forever block isn't working!?!?!

Try:
http://img404.imageshack.us/img404/3802/help.gif


Hai.

Offline

 

#4 2009-11-14 12:28:48

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: the forever block isn't working!?!?!

thanks, i think that works!


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#5 2009-11-14 12:56:11

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: the forever block isn't working!?!?!

I want to know if it actually works.  tongue

Anyways, you are welcome! Another step to being a Moderator.  tongue


Hai.

Offline

 

#6 2009-11-14 13:13:28

funkymonkey
Scratcher
Registered: 2007-06-03
Posts: 1000+

Re: the forever block isn't working!?!?!

you want to be a moderator? good luck  smile  and thanks for the help, i'll post the project here when i'm done


http://i243.photobucket.com/albums/ff67/hprules_photos/banner2.jpg
Kuzimu: Dawn of a New Age                                                                                                  Coming May 2010

Offline

 

#7 2009-11-14 14:21:38

fg123_tests
Scratcher
Registered: 2009-11-01
Posts: 24

Re: the forever block isn't working!?!?!

So does it work? And ur welcome!

Offline

 

Board footer