Discuss Scratch

kpcpps
New Scratcher
2 posts

how do i brodcast the score at the end of the game?????????????!!!

can someone show me how to i brodcast the score at the end of the game
dolphingirl36
Scratcher
100+ posts

how do i brodcast the score at the end of the game?????????????!!!

If the “score” is a variable, then you can make the variable appear using this block:
show variable [ v]

Or, you can have one of the sprites say the variable by dragging the variable into a “say” block, like this:
say (variable)

I hope that helped!
Zacshap21
Scratcher
100+ posts

how do i brodcast the score at the end of the game?????????????!!!

'say variable: score' OR
'Show variable: score' OR
'Ask variable: score' although the 1st 2 are recommended.
Kennty
Scratcher
1 post

how do i brodcast the score at the end of the game?????????????!!!

How do I do something like this:

If score reaches 10
switch to backdrop 2

because there is no if score reaches comand

Last edited by Kennty (April 13, 2016 11:40:06)

JulieThorpe
Scratcher
7 posts

how do i brodcast the score at the end of the game?????????????!!!

Kennty wrote:

How do I do something like this:

If score reaches 10
switch to backdrop 2

because there is no if score reaches comand

Please open your own post if you want a question answered not related to the topic. However, I will answer your question because I'm already posting something.

if <(score) > [10]> then
switch backdrop to [2]
end

Last edited by JulieThorpe (June 20, 2016 17:49:36)

asivi
Scratcher
1000+ posts

how do i brodcast the score at the end of the game?????????????!!!

JulieThorpe wrote:

Kennty wrote:

How do I do something like this:

If score reaches 10
switch to backdrop 2

because there is no if score reaches comand

Please open your own post if you want a question answered not related to the topic. However, I will answer your question because I'm already posting something.

if <(score) > [10]> then
switch backdrop to [2]
end
if <(score) > [9]> then
switch backdrop to [2]
end
Is there a gentile moderator reading this? Please close this topic, thanks.
CoolGuyBug
Scratcher
100+ posts

how do i brodcast the score at the end of the game?????????????!!!

Actually, you need to include a “forever” block, like this:

when green flag clicked
forever
if <(score) > [9]> then
switch backdrop to [BLAH. v]
end
end
MaggZAttaggZ
Scratcher
100+ posts

how do i brodcast the score at the end of the game?????????????!!!

Actually,

when green flag clicked
forever

if <(score) > [9 ]> then

switch backdrop to [BLAH. v]
end

end

wouldn't work if you were doing decimals in the score, too (which you probably aren't).
But if you are, you would do:

when green flag clicked
forever

if <<(score) = [10 ]> or <<(score) > [10 ]>>> then
switch backdrop to [BLAH. v]

end

end

Sorry, don't know why the red is there but it shouldn't.

Last edited by MaggZAttaggZ (June 21, 2016 02:56:02)

gubady73
Scratcher
4 posts

how do i brodcast the score at the end of the game?????????????!!!

Please close

Last edited by gubady73 (Jan. 19, 2017 06:12:57)

yamum1
New Scratcher
2 posts

how do i brodcast the score at the end of the game?????????????!!!

dolphingirl36 wrote:

If the “score” is a variable, then you can make the variable appear using this block:
show variable [ v]

Or, you can have one of the sprites say the variable by dragging the variable into a “say” block, like this:
say (variable)

I hope that helped!
yo
yamum1
New Scratcher
2 posts

how do i brodcast the score at the end of the game?????????????!!!

after you do that how do you get it to wait until you die.
deck26
Scratcher
1000+ posts

how do i brodcast the score at the end of the game?????????????!!!

This topic is old. If you have a question please create a new topic but there is little point responding to the original question now.
Game_creator64
Scratcher
3 posts

how do i brodcast the score at the end of the game?????????????!!!

kpcpps wrote:

can someone show me how to i brodcast the score at the end of the game
hi i am a person sje fieop['FJIEOD['dc
when green flag clicked
-frostyiceprincess-
Scratcher
1000+ posts

how do i brodcast the score at the end of the game?????????????!!!

Game_creator64 wrote:

kpcpps wrote:

can someone show me how to i brodcast the score at the end of the game
hi i am a person sje fieop['FJIEOD['dc
when green flag clicked
Please don't necropost.
Lukas_Gaming
Scratcher
35 posts

how do i brodcast the score at the end of the game?????????????!!!

-frostyiceprincess- wrote:

Game_creator64 wrote:

kpcpps wrote:

can someone show me how to i brodcast the score at the end of the game
hi i am a person sje fieop['FJIEOD['dc
when green flag clicked
Please don't necropost.
Agreed
-ShadowOfTheFuture-
Scratcher
1000+ posts

how do i brodcast the score at the end of the game?????????????!!!

This topic should probably be closed, it's from 2014.
mysticmints
Scratcher
1 post

how do i brodcast the score at the end of the game?????????????!!!

say (join [your score is] (score))

NOW CLOSE IT OKAY

Last edited by mysticmints (Aug. 21, 2018 14:44:49)

ShinigamiBlacky
Scratcher
100+ posts

how do i brodcast the score at the end of the game?????????????!!!

DONT NECROPOST
EVERYONE FORGOT ABOUT IT, UNTILL YOU BROUGHT IT BACK UP
AND BY THE WAY, Why are we screaming
zeckste
Scratcher
3 posts

how do i brodcast the score at the end of the game?????????????!!!

gracias
deck26
Scratcher
1000+ posts

how do i brodcast the score at the end of the game?????????????!!!

zeckste wrote:

gracias
There's no need to necropost if you found something useful.

Powered by DjangoBB