point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [something v]?> move (10) steps
Last edited by joefarebrother (2012-11-25 09:32:49)
Offline
joefarebrother wrote:
point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [something v]?> move (10) steps end
Fixed, though I think froggy12 wants the random movement to start after the sprites hits an object, in which case another block is needed:
wait until <touching [something v]?> point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <done?> move (10) steps end
Last edited by ErnieParke (2012-11-25 09:41:32)
Offline
ErnieParke wrote:
joefarebrother wrote:
point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [something v]?> move (10) steps endErnieParkie wrote:
Fixed, though I think froggy12 wants the random movement to start after the sprites hits an object, in which case another block is needed:
wait until <touching [something v]?> point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <done?> move (10) steps end
I hope that this helps!curiouscrab wrote:
Don't you mean
point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [something v]?> move (10) steps endFixed, though I think froggy12 wants the random movement to start after the sprites hits an object, in which case another block is needed:
wait until <touching [something v]?> point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [other thing v]?> move (10) steps end?
Last edited by curiouscrab (2012-11-25 13:42:31)
Offline
ErnieParke wrote:
joefarebrother wrote:
point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [something v]?> move (10) steps endFixed
umm... in what way was that fixed? It looks the exact same as how I had it.
Offline
joefarebrother wrote:
ErnieParke wrote:
joefarebrother wrote:
point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [something v]?> move (10) steps endFixed
umm... in what way was that fixed? It looks the exact same as how I had it.
I fixed it two ways:
1). You forgot to put end after the [move (10) steps] block.
2). I had fixed the pick random number block, though you had already fixed that before I had posted this, so it was a bit of an outpost.
Offline
curiouscrab wrote:
ErnieParke wrote:
curiouscrab wrote:
Don't you mean
point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [something v]?> move (10) steps endFixed, though I think froggy12 wants the random movement to start after the sprites hits an object, in which case another block is needed:
wait until <touching [something v]?> point in direction (((pick random (0) to (1)) * (180)) - (90))//either 90 or -90 repeat until <touching [other thing v]?> move (10) steps end?
No, I didn't mean that because, as far as I can see, froggy12 never mentioned when (s)he wanted the sprite to stop moving.
Offline