I am new, and I am stuck. How do you switch screens and make characters disappear and stuff? Please help!
Offline
to switch screens, just do this:
when gf clicked switch to costume [costume 1 v]And to make sprites disappear:
when gf clicked hideand to make it show again,
showSo either connect the show or hide block to the when green flag clicked block. Also, if you want to know, the broadcasts and receives are pretty useful.
when gf clicked hide wait (1) secs broadcast [your text here v] when i receive [your text here v] showSo there! Hope these tips are useful to u!
Last edited by Liamadams (2013-05-02 19:00:55)
Offline
twoawesomepeople123 wrote:
I am new, and I am stuck. How do you switch screens and make characters disappear and stuff? Please help!
To make a sprite hide, do this:
hide//makes the sprite disappearTo make a sprite show, do this:
show//makes the sprite appearTo make a sprite switch looks, do this:
switch to costume [costume2 v]Lets say that you wanted all sprites to hide, without timing.
broadcast[hide v]//sends a message telling the sprites receiving the message to hideBut to make a sprite receive a message, you need a when I receive block.
when I receive [hide v]//when this message is recieved hide//disappearIf you wanted a sprite to do something forever, use this block:
forever//makes the sprite do something over, no matter whatHere is a tip for using forever blocks.
repeat until//makes the sprite do something continuously until something occursIf you wanted a sprite to say something, use these blocks:
say[hi] for (3) secs//makes the sprite say this for 3 seconds say [hi]//makes the sprite say something until something happensIf you wanted a variable, do this:
change [score v] by (1)//changes score by +1 set [score v] to (1)//sets score to a certain number hide variable [score v]//hides the variable show variable [score v]//shows the variableI hope this guide helps. If you need more help, please let me know!
Last edited by joshuaho (2013-05-02 19:31:26)
Offline