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

#1 2008-09-11 03:45:31

clemloh
Scratcher
Registered: 2008-09-08
Posts: 2

Need help on input - Need interactivity

Hi,
I am new to Scratch and have been trying to find out how to get user interactivity, aside from detecting a key-press or a mouse click

Assumming (using the default Cat1-a sprite) you want the cat to say "Hello, please type in your name"
That's easy

But the next thing is that I want the user to be able to type in his/her name and press "ENTER" to end his/her input - then the next step is that the cat will reply "Hello <name>, Welcome to Scratch"  ......or something to that effect

So far, I haven't figured out how to do this (easily) in Scratch

It would be great if under the variable and list creation, an additional block is given...

such as GET <user input> to <vairable>

Can someone help?
Thanks!

Offline

 

#2 2008-09-11 03:50:52

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: Need help on input - Need interactivity

download this  smile  http://scratch.mit.edu/projects/Paddle2SeeFixIt/257886

Offline

 

#3 2008-09-11 04:05:50

clemloh
Scratcher
Registered: 2008-09-08
Posts: 2

Re: Need help on input - Need interactivity

Thank you - deatheater.

The scripts give me what I need.
However, it is rather complex for kids to understand.
Do you think that my suggestion is valid? i.e. have a GET block to capture user input and then assign the input to a variable or an entry in a list?
Do you think it makes sense and should I post it on the Suggestion forum?

Once again - thank you very much

Offline

 

#4 2008-09-11 04:08:21

deatheater
Scratcher
Registered: 2008-04-11
Posts: 1000+

Re: Need help on input - Need interactivity

clemloh wrote:

Thank you - deatheater.

The scripts give me what I need.
However, it is rather complex for kids to understand.
Do you think that my suggestion is valid? i.e. have a GET block to capture user input and then assign the input to a variable or an entry in a list?
Do you think it makes sense and should I post it on the Suggestion forum?

Once again - thank you very much

Sure everybody around here are open to new ideas  smile

Offline

 

#5 2008-09-11 09:07:56

jay
Scratch Team
Registered: 2007-03-11
Posts: 59

Re: Need help on input - Need interactivity

Hello,
One possible way to do this is with a sprite. This isn't as easy as if there was a get block though. I made an example of your request here:
http://scratch.mit.edu/projects/jay/262830
Jay

Offline

 

Board footer