zcribble

I'm new to Scratch and this is probably something really simple, but for the life of me, I can't figure it out!

On a test project I can make the cat say Meow, but for my project I can't get my sprite to say game over.

when I receive [gameover]
switch costume to [c]
say [Game Over!]
hide variable [Points]

My sprite will switch costumes and the points will disappear, but it won't speak…

I don't know what I'm doing wrong… any help is appreciated!

GethPrime

can you share it please

FiveCubed

Perhaps you have a “stop all” block fired immediately after gameover is broadcasted, causing the speech bubble to disappear. If you would like more help, please share and provide a link to the project.

GethPrime

That is what i was going to say. lol

footsocktoe

zcribble wrote:

I'm new to Scratch and this is probably something really simple, but for the life of me, I can't figure it out!

On a test project I can make the cat say Meow, but for my project I can't get my sprite to say game over.

when I receive [gameover]
switch costume to [c]
say [Game Over!]
hide variable [Points]

My sprite will switch costumes and the points will disappear, but it won't speak…

I don't know what I'm doing wrong… any help is appreciated!

There are two different say blocks. Use the other one.

when I receive [gameover]
switch costume to [c]
say [Game Over!] for (10) secs
hide variable [Points]

zcribble

Thank you for the advice.

I'm actually not using the stop all function… I just hide all my sprites, except for the main character, when the game ends.

I feel like I'm taking one step forward and three steps back… lol

I tried the say () for () seconds block and that worked! But now when my game starts, it starts with my sprite saying “GAME OVER!” for 2 seconds, my background doesn't come up anymore and my blobs use to hide and then come one screen one at a time, but they start on the screen right away…

I feel super awkward sharing this…. but you can find my first project here: https://scratch.mit.edu/projects/151963034/

Once again, thank you for your help!

kirkbye2022

I can't get the sprite to speak no matter what I do.
I'm making a 3 minute animation for my advanced tech class. I have tried putting a broadcast block at the end of my title page and then putting a when I receive block. It won't work. This is the code I used that will not work for me but for everyone else.

when I receive [2]
say [I'm so excited for Christmas!!] for (5) secs

kirkbye2022

I have until friday to have my animation done…… but I haven't even got 30 seconds done yet…… any help will be greatly appreciated.

deck26

kirkbye2022 wrote:

I can't get the sprite to speak no matter what I do.
I'm making a 3 minute animation for my advanced tech class. I have tried putting a broadcast block at the end of my title page and then putting a when I receive block. It won't work. This is the code I used that will not work for me but for everyone else.

when I receive [2]
say [I'm so excited for Christmas!!] for (5) secs
You should really create youir own new topic rather than posting on someone else's.

Is the sprite hidden? It can't say anything if it is. Does the script work if you run it manually? Can you share the project as we'll resolve this very quickly if you do that and identify where we can find the script and how to trigger it.