Discuss Scratch

Turbo-Code1000
Scratcher
19 posts

Making a Magic 8 ball

The Magic 8 Ball has 5 options, i will tell you how to make it.
a)
1. Create a triangle sprite
2. Create a Magic 8 Ball sprite
3. In the triangle sprite put in this code:
whenthisspriteclickedbroadcaststart
4. Now in the Magic 8 ball sprite, we want it to choose a random item so put in this code:
whenIreceivestartsetitemtopickrandom1to5ifitem=1thensayyesfor2secsifitem=2thensaynofor2secsifitem=3thensaymaybefor2secsifitem=4thensayprobablyfor2secsifitem=5thensayprobably not

Last edited by Turbo-Code1000 (Nov. 26, 2024 16:10:40)

Powered by DjangoBB