Path: chuka.playstation.co.uk!news From: Javier Ventoso Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Randomizer problem Date: Sun, 13 Jun 1999 16:44:13 +0200 Organization: PlayStation Net Yaroze (SCEE) Lines: 20 Message-ID: <3763C3BD.3FD6CB43@mundivia.es> References: <7jqv39$qtv7@chuka.playstation.co.uk> <7jte32$qtv16@chuka.playstation.co.uk> NNTP-Posting-Host: info1955520427.mundivia.es Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en Rikki Prince wrote: > While we're on the topic of randomness (like where you chose to post > this...lol), can anyone tell me the best way of getting different random > seed each time the game runs? In other languages, mainly on PCs, I've used > 'randomize()' or its equivalent, with the current time, to set the seed, > this makes it at least slightly different each time you play. Is there any > equivalent way which seems to be easiest, and most common? > > Thanks > Rikki I have a trick, while a button(s) is pressed then a increase a counter and when you need to set the seed use that counter. Javi.