Creating a game on Game Maker 8.


Anyone know how to randomize a sprite for a die/dice, or a click to randomize sprites?

HeyJD7 years ago
MAN IT'S EASY! I won't tell you how to do it because that would be taking away the fun of programing, But I'll tell you a certain function that may help.

choose(argument0,argument2,argument3,argument4,argument5,argument6)

That function chooses randomly any argument in there(you can put up to 16 arguments in the function).

If you want to know more go to gmc.yoyogames.com
They have heaps of people that will help you.

wilcurt (author)  HeyJD7 years ago
I asked the question for a reason. If you're going to answer, give the full answer!
HeyJD wilcurt7 years ago
Well... I thought it would be easy enough to get the answer from what I told you.... There's nothing much else I can say because everyone codes differently...
Kiteman7 years ago
I *think* you can do it via resources, create object and then there is something random in the object properties menu.

I think... I've watched somebody use it, once.