Hello, Its been awhile since I have been on the forums. I need a bit of help with something.
I am creating a simple platformer game, and I have my platforms randomly generate, but because of the sprite I use, sometimes they generate strangely.
Basically, I need to Randomly generate multiples of a number only up to a certain number. (If that makes sense).
Like for example, say If i wanted to randomly generate multiples of 6, but only up to ten times, so I would want it so it would only randomly generate these numbers:
6, 12, 18, 24, 30, 36, 42, 48, 54, 60.
Can anyone help?