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

#1 2010-09-07 00:41:45

Pinkchibs
Scratcher
Registered: 2010-07-27
Posts: 9

Making things react to speech bubbles

How do I make it so 'sprite one' will do something when 'sprite two' activates a speech bubble?


http://i422.photobucket.com/albums/pp307/SkyStalkah/Emoticonz/imhappyplz.gif I'm an idiot sometimes.
But sometimes I'm not! http://i598.photobucket.com/albums/tt62/OkamiPet/Plz/icameplz.gif

Offline

 

#2 2010-09-07 00:51:24

JAMBAMtheSLAM
New Scratcher
Registered: 2010-09-03
Posts: 100+

Re: Making things react to speech bubbles

Sprite 2
When Green Flag Clicked
Say "[Whatever]"
Broadcast [Next]
Sprite 1
When I Receive Next
Say "[Whatever]"


http://i54.tinypic.com/2s7zwxs.png

Offline

 

#3 2010-09-07 15:29:08

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

Re: Making things react to speech bubbles

<when green flag clicked>
<say[ what you're gonna say
<broadcast[ speech bubble

<when I receive[ speech bubble
<say[ what you're gonna say


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

Offline

 

#4 2010-09-09 11:47:42

The_Dancing_Donut
Scratcher
Registered: 2010-08-03
Posts: 1000+

Re: Making things react to speech bubbles

Or a less efficient way u can try:

Sprite1
When green flag clicked
Say [i liek cupcakes] for [2] secs
Wait [2] secs

Sprite2
When green flag clicked
Wait [2] secs
Say [meh too!] for [2] secs

You can change the text, but if you're not confident, leave the numbers alone for now.

Hope I helped  tongue


Offending strangers since 2010.

Offline

 

#5 2010-09-12 06:44:33

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: Making things react to speech bubbles

@The_Dancing_Donut:It's impossible for someone to eat himself. Besides, he would die anyway, so why eat himself?

But as to the script, that works for 2 speech bubbles. What if you want to have a long conversation lasting 2 hours and 99999999999999999999999999999999999999999999999999999 speech bubbles?

No, I'm not actually a tank. I'm the supreme ruler of the universe, overlord of chaos and respected god.

PS:Jesus still owes me 5 bucks.

Last edited by helltank (2010-09-12 06:44:47)


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#6 2010-09-12 14:03:28

The_Dancing_Donut
Scratcher
Registered: 2010-08-03
Posts: 1000+

Re: Making things react to speech bubbles

helltank wrote:

@The_Dancing_Donut:It's impossible for someone to eat himself. Besides, he would die anyway, so why eat himself?

But as to the script, that works for 2 speech bubbles. What if you want to have a long conversation lasting 2 hours and 99999999999999999999999999999999999999999999999999999 speech bubbles?

No, I'm not actually a tank. I'm the supreme ruler of the universe, overlord of chaos and respected god.

PS:Jesus still owes me 5 bucks.

Um helloooo?! It's a joke!! And anyways, doughnuts can do anything they want. They're MAGIC  tongue
If you want to use my method, you have you keep putting 'wait 2 secs', e.g.

Sprite1
When flag pressed
Say [Hi bob] for 2 secs
Wait 2 secs
Say [what u doing?] for 2 secs
Wait 2 secs
Say [sounds fun] for 2 secs

Sprite2
When flag pressed
Wait 2 secs
Say [hi bill] for 2 secs
Wait 2 secs
Say [eating myself] for 2 secs
Wait 2 secs
Say [it is] for 2 secs

...and so on.
So HA helltank! It works! Try it!  smile


Offending strangers since 2010.

Offline

 

Board footer