Discuss Scratch

DJfroggyfrog
Scratcher
1 post

what is the message1 block for?

hello world. i am making a program with many backdrops and sprites so i NEED to know what the message 1 block is. thanks.
Coder24
Scratcher
39 posts

what is the message1 block for?

Do You Mean This Block:
whenIreceivemessage1

If so then this is the receive block. It works with the broadcast block. What it does is allows sprites to communicate with each other without variables. Say you wanted to have one sprite appear when another was clicked. Then your script would look like this for the first sprite:
whenthisspriteclickedbroadcastclicked
And then for the other sprite:
whenIreceiveclickedshow
Hope this helped!
wag123
Scratcher
21 posts

what is the message1 block for?

try this script




whenthisspriteclickedbroadcast


whenIreceive/scratchblocks[scratchblocks]playdrumfor0.2beats/scratchblocks
CatsUnited
Scratcher
1000+ posts

what is the message1 block for?

Coder24 wrote:

Do You Mean This Block:
whenIreceivemessage1

If so then this is the receive block. It works with the broadcast block. What it does is allows sprites to communicate with each other without variables. Say you wanted to have one sprite appear when another was clicked. Then your script would look like this for the first sprite:
whenthisspriteclickedbroadcastclicked
And then for the other sprite:
whenIreceiveclickedshow
Hope this helped!

You can also make variables and broadcasts work together. They're very powerful tools.
BeastCloud
Scratcher
49 posts

what is the message1 block for?

Coder24 wrote:

Do You Mean This Block:
whenIreceivemessage1

If so then this is the receive block. It works with the broadcast block. What it does is allows sprites to communicate with each other without variables. Say you wanted to have one sprite appear when another was clicked. Then your script would look like this for the first sprite:
whenthisspriteclickedbroadcastclicked
And then for the other sprite:
whenIreceiveclickedshow
Hope this helped!
need help
whenclickedsayhow do i get a signature?
100057596
Scratcher
1 post

what is the message1 block for?

What?
saucesamness
New Scratcher
1 post

what is the message1 block for?

how can I get one sprite to go
and then another one to go and do something else
deck26
Scratcher
1000+ posts

what is the message1 block for?

saucesamness wrote:

how can I get one sprite to go
and then another one to go and do something else
Please create your own topic rather than posting on an old one belonging to someone else.
ihatej
Scratcher
1 post

what is the message1 block for?

Hello world.
1. i dont get the what message 1 means.
2. i am trying 2 make a game and i dont no wat message 1 means…
also i realy suck @ scratch but pls can u follow me…
CatsUnited
Scratcher
1000+ posts

what is the message1 block for?

ihatej wrote:

Hello world.
1. i dont get the what message 1 means.
2. i am trying 2 make a game and i dont no wat message 1 means…
also i realy suck @ scratch but pls can u follow me…
I advise creating your own topic rather than posting on an old/resolved topic. This is known within the forums as a necropost.

Also, the “message 1” block is known as a broadcast block, which when run will send out a signal that receiving blocks can pick up. The link I provided contains some good information about that block.
bigfatsmelly
Scratcher
1 post

what is the message1 block for?

wqFHGEQTY
deck26
Scratcher
1000+ posts

what is the message1 block for?

bigfatsmelly wrote:

wqFHGEQTY
Please don't spam or necropost.
cibibies
Scratcher
6 posts

what is the message1 block for?

When you use the broadcast message1 it sends a trigger to all the sprites but only if it has the Recive message1 block. This should be useful for anyone who has not done this before. cibibies
super_epic_games
Scratcher
43 posts

what is the message1 block for?

You can use the
whenIreceive
and
broadcast
if it's for single use things, but if you want to save your mouse pad, i would suggest using variables for multiple functions.
cibibies
Scratcher
6 posts

what is the message1 block for?

deck26 wrote:

bigfatsmelly wrote:

wqFHGEQTY
Please don't spam or necropost.
:
I agree with deck26 cause it could hurt someone's feelings saying this : wqFHGEQTY
If a member of the scratch team find out about bigfatsmelly they will not be happy about it because if it does not make sense they have to dealte the comment
Harakou
Scratcher
1000+ posts

what is the message1 block for?

Thanks to everyone who's trying to help, but this thread is 5 years old at this point - it's no longer relevant. Please make sure the author still needs help before responding.

Powered by DjangoBB