How do I generate a random number?
Currently I'm using the 0-9 output on the randomiser and then dividing by 9 to get a 0-1 output for a playback speed. Obviously this limits the random values severely so if there is another way to generate proper random values that would be great!
-
I'm not sure on the use case but one way to get a random value is with the signal generator gadget. found in the Palette > Components > Sensors
Kevin -
Interesting. I need a random value with a lower limit and upper limit.
This is for an RPG-like game where the same attack deals damage based on a minimum attack damage value and a maximum attack damage value.
Please sign in to leave a comment.