Discuss Scratch

star_wolves1
Scratcher
29 posts

how do I do this

so im trying to make a tic tac toe game, but I don't know how to make the x and o appear. I made a sprite that is just nothing so when you click it it sends a message but I don't know how to make it actually appear.
Emeraldore12
Scratcher
100+ posts

how do I do this

When your blank sprite is clicked, it can send a broadcast to either the X or O to show it. Make sure to hide them at the start of the project.

whenthisspriteclickedbroadcastshow X or OwhenIreceiveshow X or Oshow
star_wolves1
Scratcher
29 posts

how do I do this

ok, thanks

p.s. im using a computer on scratch for the first time put that changes nothing
star_wolves1
Scratcher
29 posts

how do I do this

Emeraldore12 wrote:

When your blank sprite is clicked, it can send a broadcast to either the X or O to show it. Make sure to hide them at the start of the project.

whenthisspriteclickedbroadcastshow X or OwhenIreceiveshow X or Oshow
I found a problem: when it clicks, I don't know how it willl know which one to play. I could try switching costumes, but I don't know if it will walk.
rererebussin24
Scratcher
1 post

how do I do this

hello,
I am making a pet simulator with UI using clone ids.
I am making a drop down shop menu that goes down smoothly.
In the link below, there are some variables called YSPEED and Resistance.
Scroll up to find the values.
I am using a true of false thing to determine if the menu is up or down and making it if you click it whilst it is up, it will go down and if you click it whilst its down, it will go back up but when I try to code it to go back up, it wont work.
please review the link below if I messed anything up.

https://scratch.mit.edu/projects/1103613455/editor/
jmb1293634
Scratcher
500+ posts

how do I do this

rererebussin24 wrote:

hello,
I am making a pet simulator with UI using clone ids.
I am making a drop down shop menu that goes down smoothly.
In the link below, there are some variables called YSPEED and Resistance.
Scroll up to find the values.
I am using a true of false thing to determine if the menu is up or down and making it if you click it whilst it is up, it will go down and if you click it whilst its down, it will go back up but when I try to code it to go back up, it wont work.
please review the link below if I messed anything up.

https://scratch.mit.edu/projects/1103613455/editor/
make your own topic

Powered by DjangoBB