Discuss Scratch

2014CG
New to Scratch
3 posts

how to generate an imput

i am making a game kinda like the toy called “Bop It” im wondering how to have the notification to press a certain button. for example: you have to press the right key to go on. and if you press the wrong one you lose. and i am really wondering how to randomly generate the botton you have to press, the audio stating the name of the botton, and how to script if you press it or not.
2014CG
New to Scratch
3 posts

how to generate an imput

please help!
2014CG
New to Scratch
3 posts

how to generate an imput

I really need a response before tuesday
scratch342
Scratcher
55 posts

how to generate an imput

share your project and I will help. And the audio thing is impossible. Just use the
say [] for (2) secs
blocks.

Messi dribbles everyone and scores. Hardly celebrates
Cristiano Ronaldo scores a 30 yard screamer. You can guess what he does
drmcw
Scratcher
1000+ posts

how to generate an imput

You'd have to record the audio yourself unless you can find appropriate sound files. The best way to randomly generate events is to use
broadcast  (join [My event] (pick random (1) to (4))) 

This would generate 4 events called My event1, My event2, My event3 and My event4.

Last edited by drmcw (Feb. 24, 2014 09:27:32)


10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
scubajerry
Scratcher
1000+ posts

how to generate an imput

My Simple Simon game may be of some help.

Powered by DjangoBB