Help with the go to script! Please Respond!
On Scratch is there a way to have a sprite go to any area of the stage except a specific area? If you know please respond I would highly appreciate it.
If you don't understand ask me and I will explain what I mean.
Offline
Hello,
Would you like the sprite to go there on its own or by having someone direct it (ex. by arrows)?
Offline
hmm. i don't think so... but you can create 2 lists: one with x values except the ones you don't want and do the same for the y values. then...
when gf clicked go to x: (item (1 v) of [x values v]) y: (item (1 v) of [y values v])or any item (or #) you want
Last edited by gfchll (2012-10-27 12:33:39)
Offline
Joanna_Kalmir wrote:
Hello,
Would you like the sprite to go there on its own or by having someone direct it (ex. by arrows)?
On it's on so it hide then shows in random spot on the stage except a specific spot.
hide wait 0.3 seconds show go to ect.
Offline
gfchll wrote:
hmm. i don't think so... but you can create 2 lists: one with x values except the ones you don't want and do the same for the y values. then...
when gf clicked go to x: (item (1 v) of [x values v]) y: (item (1 v) of [y values v])or any item (or #) you want
are you able to put got blocks in or operators
Offline
SoggyNugget wrote:
gfchll wrote:
hmm. i don't think so... but you can create 2 lists: one with x values except the ones you don't want and do the same for the y values. then...
when gf clicked go to x: (item (1 v) of [x values v]) y: (item (1 v) of [y values v])or any item (or #) you wantare you able to put got blocks in or operators
i tried but it didnt work.
Offline
gfchll wrote:
SoggyNugget wrote:
gfchll wrote:
hmm. i don't think so... but you can create 2 lists: one with x values except the ones you don't want and do the same for the y values. then...
when gf clicked go to x: (item (1 v) of [x values v]) y: (item (1 v) of [y values v])or any item (or #) you wantare you able to put got blocks in or operators
i tried but it didnt work.
poo
Offline
SoggyNugget wrote:
gfchll wrote:
SoggyNugget wrote:
are you able to put got blocks in or operatorsi tried but it didnt work.
poo
I guess I'll do the game but remove the idea of it the objective going in specific spots.
Offline
Hello I'm done my game if you have a minute please play it. Read the project notes. http://scratch.mit.edu/projects/SoggyNugget/2865055
SoggyNugget wrote:
SoggyNugget wrote:
gfchll wrote:
i tried but it didnt work.
poo
I guess I'll do the game but remove the idea of it the objective going in specific spots.
Offline