|
-
I use swish v.2.0 and was wondering how to create random probabilities?
-
Hi there Golden, welcome to Swish Help forum
Swish currently has no ability to generate true randomness.
You can fake it however a repeat pattern will eventually kick in.
So it does depend on how random you want things to be.
Jofta
-
ah okay, thanx
-
Chief of Molecules
My footer has one approach to these not quote random events - the swi is at http://www.wellesley.edu/Chemistry/F...chicfooter.swi - here a swish is running constantly and each frame, if the sprite is rolled over during that frame, chooses from among a set of 14 subsprites and displays a particular message. Assuming that the use has no pattern in the timing between rollovers there should be an even distribution of the various panels chosen (to be mathematically correct this will only be true if the time from one roll over to the next is several times the duration of the controller sprite, which is a little over a second).
Cheers,
Flick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|