Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Algorithms or methods to produce events or behavior that is random in nature.
1
vote
Game Maker Language's random function always giving the same result
I've changed the 'random()' function by the 'irandom()', and add the 'randomize()' function, in order to reset the value which are going to be randomized. …
0
votes
1
answer
1k
views
Game Maker Language's random function always giving the same result
For that, I use this code in the create event of the object bonbon :
position_x = round(random(10));
position_y = round(random(10));
x = position_x*16;
y = position_y*16;
But the sprite of this object … Why does the random function return the same values every time I run the game? …