Jonas13 wrote:
Can you program an object so that it goes to the left or right?
If one assumes random number/"pick random", it's all still up or diagonally.
If so, how?
<pick random(
Thanks for help!
I don't really understand what you're trying to say... maybe give a visual example?
Offline
when gf clicked change x by <pick random>that may or may not work
Offline
zammer990 wrote:
when gf clicked set [direction v] to (pick random (1) to (2)) if <(direction) = (1)> change x by (10) else change x by (-10)
Simpler:
when gf clicked if <(pick random (1) to (2)) = (1)> change x by (10) else change x by (-10)
Offline
this is how I do it
point in direction ((((pick random (0) to (1)) * (2)) - (1)) *(90)) move (10) steps // picks -90 or 90
Last edited by Wes64 (2012-07-21 15:40:53)
Offline