Discuss Scratch

DenverBroncos16354
New to Scratch
18 posts

Think I have a problem with the broadcasting, but I can't find it

I am working on a simulation and when you are inserting the information the program wants to push and broadcast a broadcast, and I can't figure out why? I need to be done with the program this weekend so anyone who may be able to help it would be greatly appreciated.The project
DerpyHead0
Scratcher
1000+ posts

Think I have a problem with the broadcasting, but I can't find it

i think the problem is that a clone is responding to the broadcasts
EDIT: nvm, didn't see the other scripts. can't really find the problem because:
1) your question makes no sense, i only know about a broadcast
2) your scripts are a mess

Last edited by DerpyHead0 (Nov. 10, 2018 02:35:38)


when I start as a clone
delete this clone
DenverBroncos16354
New to Scratch
18 posts

Think I have a problem with the broadcasting, but I can't find it

If you look at the program when it runs, the first question works but after you click the answer it doesn't work and will jump to the next screen. I tried to fix the program so it is more readable. Thank you so much for the help sorry for any confusion.
DerpyHead0
Scratcher
1000+ posts

Think I have a problem with the broadcasting, but I can't find it

DenverBroncos16354 wrote:

If you look at the program when it runs, the first question works but after you click the answer it doesn't work and will jump to the next screen. I tried to fix the program so it is more readable. Thank you so much for the help sorry for any confusion.
wait so when it starts as a cone it tries to detect for a click with a forever loop but you also have a when this sprite clicked, and also you have 2 when i start as a clone scripts both with their own click detection…


be more careful with your hat blocks, clones pick all the when i start as a clone hat blocks, and also then will react to any other hat blocks.

when I start as a clone
delete this clone
DenverBroncos16354
New to Scratch
18 posts

Think I have a problem with the broadcasting, but I can't find it

So should I use a repeat until block?
DenverBroncos16354
New to Scratch
18 posts

Think I have a problem with the broadcasting, but I can't find it

I tried that but it didn't work. Maybe I didn't understand the solution or maybe I did it wrong.
DenverBroncos16354
New to Scratch
18 posts

Think I have a problem with the broadcasting, but I can't find it

Somehow I just found a solution with the variable Data. Hopefully this makes the program still work.
DerpyHead0
Scratcher
1000+ posts

Think I have a problem with the broadcasting, but I can't find it

i believe your solution isn't attacking the actual problem.

the problem is that:
1) clones have 2 hat blocks, and clones respond to both
2) clones respond to all the other hat blocks, like when sprite clicked.

therefore, clones are usually responding to 3 different click detectors, and it also causes many other problems.

when I start as a clone
delete this clone
DenverBroncos16354
New to Scratch
18 posts

Think I have a problem with the broadcasting, but I can't find it

I made all of the clones on each screen it's own sprite so that undid the problem with the hat blocks.
EM_Dust
Scratcher
1 post

Think I have a problem with the broadcasting, but I can't find it

Hello, so the problem is that I can't see the broadcast.
MY SCRIPT:

when green flag is clicked
repeat 1
broadcast (my speech)
wait 2 seconds
broadcast (my speech)
wait 4 seconds

Please help. Thank you so much in advanced.
deck26
Scratcher
1000+ posts

Think I have a problem with the broadcasting, but I can't find it

EM_Dust wrote:

Hello, so the problem is that I can't see the broadcast.
MY SCRIPT:

when green flag is clicked
repeat 1
broadcast (my speech)
wait 2 seconds
broadcast (my speech)
wait 4 seconds

Please help. Thank you so much in advanced.
Please create your own new topic rather than necroposting and share your project.

Powered by DjangoBB