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

#1 2010-07-03 07:39:10

Gveradux
Scratcher
Registered: 2010-06-18
Posts: 100+

I need help with the TIMER

Hi, I need help with the timer. Every 20 seconds, I want my cat to get hungrier. You can see what i'm doing at:

http://scratch.mit.edu/projects/Gveradux/1169065


I really need that script or my game will be endless. Plz help.


________________________________________________________________________________
                       smile   smile   smile   smile   smile   smile   smile   smile   smile   smile   smile  SMILEY IS COOL  smile   smile   smile   smile   smile   smile   smile   smile   smile   smile   smile

Offline

 

#2 2010-07-03 19:55:03

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

Re: I need help with the TIMER

I can't view your project right now, but maybe I can help.  smile

Do you have a variable that holds the cat's amount of hunger? If so, do something like this:

When Flag Clicked
forever
   wait 20 secs
   change variable by 1
endforever

EDIT: Duplicate thread...  sad

Last edited by Chrischb (2010-07-03 19:58:09)


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 2010-07-03 23:42:39

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: I need help with the TIMER

Hmm, it seems that this thread can also be found in the "All About Scratch" forum. Let's keep everything organized and stick to one thread.  smile

Any new replies about help with a timer can be redirected heresmile


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

Board footer