Discuss Scratch

Cat_Lover4132
Scratcher
90 posts

i don't know why the sprites keep coming to the front layer :sob:

the subject explains it, in https://scratch.mit.edu/projects/943694626 the marshmallow and fire sprite keep on moving to the front layer in front of the text and blocks it ugh
rodper6635
Scratcher
100+ posts

i don't know why the sprites keep coming to the front layer :sob:

the script telling your sprites to go to the back layer doesn't stop. replace the “bye-bye” broadcast with
when green flag clicked
forever
if <(costume #) = [1]> then


go to back

else
go to front

end
end
for all of your description sprites.
medians
Scratcher
1000+ posts

i don't know why the sprites keep coming to the front layer :sob:

rodper6635 wrote:

the script telling your sprites to go to the back layer doesn't stop. replace the “bye-bye” broadcast with
for all of your description sprites.
Do you mean like this?
when gf clicked
forever
if <(costume #) = [1]> then
go back ((1) / (0)) layers
else
go to front
end
end
rodper6635
Scratcher
100+ posts

i don't know why the sprites keep coming to the front layer :sob:

medians wrote:

rodper6635 wrote:

the script telling your sprites to go to the back layer doesn't stop. replace the “bye-bye” broadcast with
for all of your description sprites.
Do you mean like this?
when gf clicked
forever
if <(costume #) = [1]> then
go back ((1) / (0)) layers
else
go to front
end
end
There's a dropdown in the go to front layer block so you can change to go to back layer. Was it not like that before?

Last edited by rodper6635 (Dec. 25, 2023 14:36:30)

medians
Scratcher
1000+ posts

i don't know why the sprites keep coming to the front layer :sob:

rodper6635 wrote:

There's a dropdown in the go to front layer block so you can change to go to back layer.
Oh I forgot that existed, there was no go to back in 2.0:

You have to do this to color it in scratchblocks.
go to [front v] layer ::looks
The [text v] part adds a dropdown.
Cat_Lover4132
Scratcher
90 posts

i don't know why the sprites keep coming to the front layer :sob:

thank you all for this!! now i can add more marshmallows <3
Cat_Lover4132
Scratcher
90 posts

i don't know why the sprites keep coming to the front layer :sob:

WAIT THIS ALL MADE IT WORSE WHAT DO I DO-
rodper6635
Scratcher
100+ posts

i don't know why the sprites keep coming to the front layer :sob:

Ok I checked and you don't need 50 broadcasts just to say go to back layer. Just do the scripts we showed and it'll be fine. I've fixed the code here.

Last edited by rodper6635 (Dec. 25, 2023 17:43:32)

Powered by DjangoBB