Hey,

So, I'm working on procedural generation, and I want it to work off a seed system. As in, you find a cool world, copy the seed, he pastes it into his game, and gets the same world. Therefor, I can't use any random values, because it would defeat the purpose of the seed system. Because of this, I need to find a way to generate somewhat random seeming values from a string of numbers, my "seed".

My seed consists of purely numbers, to simplify things. My seed can be anywhere between 1, and 10,000,000.

so let's say, I get the seed 76364, I need a way, to turn that into a number between say 1 and 10.

But

The outcome cannot be constant. The formula needs to incorporate outside factors. Say if I have blocks all over my level, I'd need to vary the formula in some way to include block.x and block.y, so that

A: All the blocks dont have the same number,

B: all the blocks in the same X row dont have the same number,

C: all the blocks in the same Y row dont have the same number.

Hopefully one of you amazing geniuses can help me out with this one