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

#1 2011-05-30 09:32:43

HoneyHorse11
Scratcher
Registered: 2011-02-15
Posts: 100+

Please Help Me...

I've seen some projects that have a response box thing and I don't know how to put one in my projects.  I know, that was a confusing sentance, considering I don't know what it's called.  Here's an example: There is a project where the sprite is guessing your number from 1 to 10.  The sprite guesses 4, and a response box thing pops up and you type 'yes' or 'no' then click the check mark.  What are those and how do I put them in my projects?  hmm


"Captain... it appears that we are out of food... And water..." "UNIMPORTANT!" -Romantically Apocalyptic, Mr. Snippy, Zee Captian

Offline

 

#2 2011-05-30 09:38:42

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Please Help Me...

Do you mean like this?:
http://i56.tinypic.com/de6ujo.png

You get that using the Ask block, which is in sensing. You can find out what the person said by using the (answer) reporter, which is located just below the ask block. Hope that helped!


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-05-30 09:39:21

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Please Help Me...

In the "Sensing" category of blocks, there is a "ask (_____) and wait".  This pops up a prompt, the <(answer)> block contains the text the user put in the prompt.


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#4 2011-05-30 10:13:21

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Offline

 

#5 2011-05-30 18:11:23

HoneyHorse11
Scratcher
Registered: 2011-02-15
Posts: 100+

Re: Please Help Me...

Harakou wrote:

Do you mean like this?:
http://i56.tinypic.com/de6ujo.png

You get that using the Ask block, which is in sensing. You can find out what the person said by using the (answer) reporter, which is located just below the ask block. Hope that helped!

Yes!  Thanks!   big_smile


"Captain... it appears that we are out of food... And water..." "UNIMPORTANT!" -Romantically Apocalyptic, Mr. Snippy, Zee Captian

Offline

 

#6 2011-05-30 18:12:30

HoneyHorse11
Scratcher
Registered: 2011-02-15
Posts: 100+

Re: Please Help Me...

MoreGamesNow wrote:

In the "Sensing" category of blocks, there is a "ask (_____) and wait".  This pops up a prompt, the <(answer)> block contains the text the user put in the prompt.

Thank you very much!  ^-^


"Captain... it appears that we are out of food... And water..." "UNIMPORTANT!" -Romantically Apocalyptic, Mr. Snippy, Zee Captian

Offline

 

#7 2011-05-30 18:32:46

HoneyHorse11
Scratcher
Registered: 2011-02-15
Posts: 100+

Re: Please Help Me...

Okay... I know how to get that now... but how to make the sprite respond?  Example:
Sprite- "What do you want to ask?"
Person- "Will I have a dog?"
Sprite- "Yes."

How do I do that?  And not ramdomly?  (It's a bad example, I know, and not what my project is about.)


"Captain... it appears that we are out of food... And water..." "UNIMPORTANT!" -Romantically Apocalyptic, Mr. Snippy, Zee Captian

Offline

 

#8 2011-05-30 19:08:23

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

Re: Please Help Me...

Use the circled script.  smile

http://i51.tinypic.com/155ifmc.jpg


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#9 2011-05-31 14:29:29

HoneyHorse11
Scratcher
Registered: 2011-02-15
Posts: 100+

Re: Please Help Me...

gettysburg11 wrote:

Use the circled script.  smile

http://i51.tinypic.com/155ifmc.jpg

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!


"Captain... it appears that we are out of food... And water..." "UNIMPORTANT!" -Romantically Apocalyptic, Mr. Snippy, Zee Captian

Offline

 

Board footer