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

#1 2012-02-11 00:58:31

iStampy
New Scratcher
Registered: 2012-02-10
Posts: 3

How do I put a time-limit in my game?

I want to make my game go for 1 minute and at the end, I want my sprite to say what they scored by saying "Well done! You got # points!"

How do I do this?

Thanks for answers.

Offline

 

#2 2012-02-11 01:11:02

Shadowed1
Scratcher
Registered: 2010-01-19
Posts: 100+

Re: How do I put a time-limit in my game?

Use the join block. You find it in Operators.


*Insert some witty, funny or sarcastic comment here*

Offline

 

#3 2012-02-11 01:18:02

iStampy
New Scratcher
Registered: 2012-02-10
Posts: 3

Re: How do I put a time-limit in my game?

I didn't quite that? I'm only new to scratch - so I need some sort of image demonstration. thanks.

Offline

 

#4 2012-02-11 03:44:06

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: How do I put a time-limit in my game?

You can build around something like this:

when green flag clicked
reset timer
repeat until <(timer) > [60]>
  say [do something :) ]
end
say (join (join [Well done! You scored ] (score)) [points!]) for (10) secs


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

Board footer