633Views4Replies

Author Options:

Creating a game on Game Maker 8. Answered


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

Discussions

0
None
HeyJD

8 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.

0
None
wilcurtHeyJD

Answer 8 years ago

I asked the question for a reason. If you're going to answer, give the full answer!

0
None
HeyJDwilcurt

Answer 8 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...

0
None
Kiteman

8 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.