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

#1 2013-02-04 05:48:13

AJSheldon
New Scratcher
Registered: 2012-02-22
Posts: 1

Making words/text appear randomly on the screen

Help.  I want to make words randomly appear on my screen - one at a time.  So I want the words to hide until they randomly appear.  Can anybody help me with a script?
AJ

Offline

 

#2 2013-02-04 13:13:01

shadowmouse
New Scratcher
Registered: 2013-02-03
Posts: 100+

Re: Making words/text appear randomly on the screen

If each word is a sprite, the make a global variable called something like turn. On each sprite put if turn equals (and then a different number on each sprite) show. If you want them to do something after they have appeared put it in a repeat until turn = (whichver number you used before) and then what you want them to do. On one sprite (or the background) put:
forever
wait 1 secs
set turn to pick random the lowest number you used to the highest number you used.
I hope this is helpful

Offline

 

Board footer