Discuss Scratch

lachaus
New Scratcher
2 posts

NEED HELP!!

so if you have a look at the project. Ive got balloons with questions on them and balloons with answers on them. I need to link them so if you click on the balloons with the question and the balloon with right answer it will then disappear. Do you know how to do the coding to link them to make the idea work?
https://scratch.mit.edu/projects/324467336/editor/
deck26
Scratcher
1000+ posts

NEED HELP!!

Set your balloons to left-right rotation and they won't go upside down.

Does it matter whether the question is clicked before the answer?

Last edited by deck26 (Oct. 15, 2019 09:58:47)

gggoday
Scratcher
27 posts

NEED HELP!!

Hello!
So what you have is something like

whenthisspriteclickedplaysoundpopuntildonesetvolumeto100%

which just plays the sound pop. So what I would do here is something like

whenthisspriteclickedsetQuestion 1to1setQuestion 2to0

whenthisspriteclickedifQuestion1=1thenplaysoundpopchangepointsby1setQuestion 2to0

These scripts would go in the question and answer, respectively, and these are assuming you only have two questions. In any sprite that isn't the correct answer, you should have the set
Question 2to0

Hope this helps!

Powered by DjangoBB