-1
\$\begingroup\$

I'm making a game where things randomly generate. It used to work, but now all the sudden they keep spawning in the same area every time. does anybody know a fix?

\$\endgroup\$
1
\$\begingroup\$

You need to call randomize to set the seed to a random value

More here: https://docs.yoyogames.com/source/dadiospice/002_reference/maths/real%20valued%20functions/randomize.html

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.