Discuss Scratch

potionpi
New to Scratch
1 post

Stuck dialogue?

When speed playing through my project the dialogue gets stuck and it won't be able to end. I'm not sure what's wrong, though I'm guessing it has something to do with the broadcasts. Any help would be appreciated!

(My project is here: https://scratch.mit.edu/projects/170715650/)
footsocktoe
Scratcher
1000+ posts

Stuck dialogue?

Not shared. By “speed playing” do you mean using turbo mode? Then don't use turbo mode.


SHOOT THE SPACE MONSTERS! ….. A game everyone can play! Bright colors, bonky sounds!
THE 12 BALLS OF CRAZY AL ……. New scrolling adventure game!

asivi
Scratcher
1000+ posts

Stuck dialogue?

potionpi wrote:

When speed playing through my project the dialogue gets stuck and it won't be able to end. I'm not sure what's wrong, though I'm guessing it has something to do with the broadcasts. Any help would be appreciated!

(My project is here: https://scratch.mit.edu/projects/170715650/)

Try by using broadcast and wait blocks.(might be you need to move the sounds blocks)

Last edited by asivi (Aug. 8, 2017 11:07:54)

asivi
Scratcher
1000+ posts

Stuck dialogue?

Also perhaps you want to prevent click on some sprites while saying something

when green flag clicked
set [talking? v] to [NO]



when this sprite clicked
if <(ftalking?) = [NO]> then
...script...::grey
set [talking v] to [YES]
broadcast [ v] and wait
set [talking? v] to [NO]
...script...::grey
end

Powered by DjangoBB