I can already do this with variables, but I think we need a
(choose random [1] or [2] or [3] or [4]). It would be a lot easier to point it in a certain direction randomly.
Last edited by Firedrake969 (2012-06-15 18:48:33)
Offline
There are many easy workarounds. You would need one number to stand for another though.
Offline
I know. I just don't like using variables in every game.
Offline
Firedrake969 wrote:
I know. I just don't like using variables in every game.
most games on scratch involve variables, its hard to make a game without them
Offline
777w wrote:
Firedrake969 wrote:
I know. I just don't like using variables in every game.
most games on scratch involve variables, its hard to make a game without them
You don't even need them for the use I was talking about...
Offline
Firedrake969 wrote:
I can already do this with variables, but I think we need a
<choose random [1] or [2] or [3] or [4]>. It would be a lot easier to point it in a certain direction randomly.
EDIT: Why is it orange and why isn't it a type-in block?
Fixed.
Also, it's easy. But it would get messy if you had to use a lot of these.
Offline
Firedrake969 wrote:
I can already do this with variables, but I think we need a
(choose random [1] or [2] or [3] or [4]). It would be a lot easier to point it in a certain direction randomly.
(pick random [1] to [4])Also to point in a certain direction randomly...
point in direction (pick random [-179] to [180])And to point in fixed directions randomly (let's say multiples of 90)
point in direction ((pick random [0] to [3]) * [90])
Firedrake969 wrote:
I know. I just don't like using variables in every game.
Those are necessary.
Last edited by Wes64 (2012-06-15 23:42:56)
Offline
add [item 1] to [items v] add [item 2] to [items v] add [item 3] to [items v] //continue set [chosen v] to (item (any v) of [items v])
Offline