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

#1 2008-01-05 19:55:40

Sweetpea41197
Scratcher
Registered: 2007-09-30
Posts: 17

Characters To Talk To Eachother?

How Do I Make It So Its Like:
"Hi"
"Hello"
"How Are You?"
"Good"
_________
Like, One Talks First, Then The Other?
Please Tell Me!


Humankind cannot gain anything without first giving something in return. To obtain, something of equal value must be lost. That is alchemy's first law of equivalent exchange. In those days, we really believed that to be the world's one and only truth.

Offline

 

#2 2008-01-05 20:00:05

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Characters To Talk To Eachother?

You can synchronize sprites in two ways.

1) by broadcasting messages. After each character says something, it broadcasts a message that triggers a script in the other sprite.

2) by timing both sprites' actions from a single message that both sprites start at the same time using wait blocks and "say [] for () seconds".

A lot of people find message synchronization good for starting big blocks (like a scene of a play) or when the synchronization depends on some action (like one sprite touching another).  They use time synchronization for quick back-and-forth dialogs.

Offline

 

#3 2008-01-05 20:04:47

Lanie624
Scratcher
Registered: 2007-07-13
Posts: 500+

Re: Characters To Talk To Eachother?

The best way to do it is by broadcasting!  its easy, fast and you dont need to worry about wrong timing


smile

Offline

 

#4 2008-01-05 20:07:34

Sweetpea41197
Scratcher
Registered: 2007-09-30
Posts: 17

Re: Characters To Talk To Eachother?

I Dont Know HOW To Broadcast Things...Heh.


Humankind cannot gain anything without first giving something in return. To obtain, something of equal value must be lost. That is alchemy's first law of equivalent exchange. In those days, we really believed that to be the world's one and only truth.

Offline

 

#5 2008-01-05 20:43:09

Sweetpea41197
Scratcher
Registered: 2007-09-30
Posts: 17

Re: Characters To Talk To Eachother?

I Tried To Broadcast, But it never came up???


Humankind cannot gain anything without first giving something in return. To obtain, something of equal value must be lost. That is alchemy's first law of equivalent exchange. In those days, we really believed that to be the world's one and only truth.

Offline

 

#6 2008-01-05 21:23:10

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Characters To Talk To Eachother?

One script includes "broadcast xx and wait" the other starts with "When I receive xx".
The second one starts right after the first one reaches the broadcast block.

Offline

 

#7 2008-01-05 22:11:01

Sweetpea41197
Scratcher
Registered: 2007-09-30
Posts: 17

Re: Characters To Talk To Eachother?

Ok, Thank You!
I'll Work On The Prohect Tommorow!
smile ))))


Humankind cannot gain anything without first giving something in return. To obtain, something of equal value must be lost. That is alchemy's first law of equivalent exchange. In those days, we really believed that to be the world's one and only truth.

Offline

 

Board footer