Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Operating System
- gangnam_guy_77
- Scratcher
6 posts
Operating System
Hi. i am making an Operating System, but I have a problem. The pop-ups in my OS appear the 1st time, but won't appear again if they have to.
the following is the entire script for the pop-up.
I have tried a forever loop, and a separate variable already.
the following is the entire script for the pop-up.
when I receive [this message makes popup go.]the end of that script is the same as in between the if then (which i tried to put an else at the end) except without the switch backdrop.
show
if <(mouse x) < [-10 ]> then
show
change [ghost] effect by (250)
hide
switch backdrop to [the main backdrop. this popup took place in the options menu.]
end
else
I have tried a forever loop, and a separate variable already.
when green flag clicked
say [good luck. -gangnam_guy_77]
stop [all]
- ErnieParke
- Scratcher
1000+ posts
Operating System
I think the problem here is that you're not resetting the ghost effect. That would explain why it isn't showing multiple times.
Also, so that you know, if you want to make a drop down menu in scratchblocks, just put in a v. For example:
(item (4) of [kukoo birds v])
Becomes:
Showing,
ErnieParke
Also, so that you know, if you want to make a drop down menu in scratchblocks, just put in a v. For example:
(item (4) of [kukoo birds v])
Becomes:
(item (4) of [kukoo birds v])
Showing,
ErnieParke
- gigapouch
- Scratcher
1000+ posts
Operating System
Hi. i am making an Operating System, but I have a problem. The pop-ups in my OS appear the 1st time, but won't appear again if they have to.
the following is the entire script for the pop-up.when I receive [this message makes popup go.]the end of that script is the same as in between the if then (which i tried to put an else at the end) except without the switch backdrop.
show
if <(mouse x) < [-10 ]> then
show
change [ghost] effect by (250)
hide
switch backdrop to [the main backdrop. this popup took place in the options menu.]
end
else
I have tried a forever loop, and a separate variable already.when green flag clicked
say [good luck. -gangnam_guy_77]
stop [all]
Why is there a ghost effect script? If you are going to use that, put this
set [ghost v] effect to (0)
right after the “When I receive” block.
I have a Steam account. If you have one too, feel free to add me to your friends list.
Also check out my YouTube channel if you like the outdoors, Minecraft, cars, roller coasters, etc.
- Discussion Forums
- » Help with Scripts
- » Operating System