The Daily Click ::. Forums ::. Klik Coding Help ::. The default random number generator
 

Post Reply  Post Oekaki 
 

Posted By Message

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
18th December, 2007 at 19:15:05 -

anyone know what is used as the seed? :/

Is it just a basic date/time seeded algorithym, or what?

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
18th December, 2007 at 20:09:03 -

Number of seconds until MMF3 is released.

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
18th December, 2007 at 20:46:24 -

It picks a random number

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Guru Rinpoche



Registered
  05/05/2007
Points
  524

Game of the Week Winner
18th December, 2007 at 21:46:12 -

Oh, you mean it uses the "magic" method?

 
I'm beamish.

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
18th December, 2007 at 22:56:31 -

It has sends a packet to clickteam central, in which Jeff is rudely woken up and given a message of the bound used, and types in a number in response.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
19th December, 2007 at 00:27:38 -

I remember seeing an option in MMF2 where you select the seed.

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
19th December, 2007 at 02:09:25 -

I'm not sure what it uses, but it's far from infallible...

Here was an experiment (in MMF 1.5), where a random x coordinate, random y coordinate, and random RGB values were chosen, and a pixel changed appropriately on an overlay object. After a number of such pixels...
Image

(Y'know, I think I've actually mentioned this before...)

 
Go Moon!

Pkeod

Oontz Oontz Oontz

Registered
  19/11/2002
Points
  93

VIP Member
19th December, 2007 at 04:34:18 -

I ran my own test. It can be seen here: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=68656#Post68656

 
Faerie Solitaire - Get it now:

http://www.create-games.com/download.asp?id=7792

Guru Rinpoche



Registered
  05/05/2007
Points
  524

Game of the Week Winner
19th December, 2007 at 07:05:58 -

Wow--those dark patches must represent the potential coolality that I will never see because the random number generator stiffed me on those values.

 
I'm beamish.

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
19th December, 2007 at 12:02:51 -

hmm i've always just used it without thinking really.

Would making your own randomizer work better?

 
.

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
19th December, 2007 at 13:07:44 -

Beats me. I've tried coming up with randomness based on time and object position before, but it's a little difficult.

The Randomizer object works fairly well, though. Here's the same test (in MMF 1.5):
Image

 
Go Moon!

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
19th December, 2007 at 18:11:18 -

That one seems a lot better

 
http://www.SilverNova.co.uk

   

Post Reply



 



Advertisement

Worth A Click