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

#1 2013-02-04 12:08:33

sprite746
New Scratcher
Registered: 2013-01-27
Posts: 1

Speak answer in a sentence

This is a question: On scratch 1.4, how can you make it so that you submit an answer, and then a sprite can say it with other words in the same speech bubble? Please reply and post screenshots of how to do it.

Offline

 

#2 2013-02-04 12:28:00

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Speak answer in a sentence

Simple, do this.

ask [What is your name?] and wait
say (join [Hi] (join (answer) [!]))
If I answer Joe, it will say,

Hi Joe!


Why are the secret organizations getting all the attention?  mad

Offline

 

#3 2013-02-04 12:35:54

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

Re: Speak answer in a sentence

What about if you wanted to do something like a name input screen where you click on a letter and it adds it to a word, how would you do that?

Offline

 

#4 2013-02-04 12:47:35

30-1
Scratcher
Registered: 2012-08-08
Posts: 100+

Re: Speak answer in a sentence

shadowmouse wrote:

What about if you wanted to do something like a name input screen where you click on a letter and it adds it to a word, how would you do that?

when [sprite1 v] clicked
add [letter] to [list v]


http://i.imgur.com/ocOya7x.gif
I. Text I Based I Games I

Offline

 

#5 2013-02-04 12:53:46

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

Re: Speak answer in a sentence

But that puts spaces inbetween the letters, is there any way of doing it without the spaces?

Offline

 

#6 2013-02-04 13:32:29

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

Re: Speak answer in a sentence

shadowmouse wrote:

But that puts spaces inbetween the letters, is there any way of doing it without the spaces?

If it's only a single letter, it doesn't add spaces.

Offline

 

#7 2013-02-04 14:06:36

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

Re: Speak answer in a sentence

Ah, I've realised the problem, I'd accidently put a word in the list as well as letters. I've sorted it out and it works fine now. Thanks.

Offline

 

Board footer