|
-
Feb 27th, 2009, 10:03 AM
#1
Thread Starter
Lively Member
[RESOLVED] Randomize problem
Hij guys, i am making a snake-game, and therefore i need to radomize some numbers. I got the function running and it randomizes numers... the only problem is, if i quit the program and start it again... the order in wich they are randomized is always the same.
like if i randomize between 1 and 6, then the numbers will be for example: 4, 6, 2, 1, 3 ect...
the next time i run my program it's again 4, 6, 2, 1, 3 ect...
It's like it will only randomize the first time u run the program:S
this is the the randomize code i use... its for coordinates:
Code:
.Top = 1800 + (Int((17 * Rnd()) + 0)) * 480
.Left = 1080 + (Int((31 * Rnd()) + 0)) * 480
please tell we how i can solve this.
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
|