Generating a level from a random seed

I really like when games use seeds, but how do games typically go from having a random seed to their final level?
I think the best solution for my game idea would be to have random prebuilt chunks, but also random elements within those chunks.
Something like Binding of Isaac therefore seems like a good example as there a bunch of rooms in random layout and within each room the objects and enemies are random depending on the room type.
Obviously these must be consistent each time the seed is used.

I’m not asking about how to generate a random seed, as that’s covered a lot, but searching for how to use that seed just shows results for generating seeds.

I should note it’s not a procedural game.

Ok lets say you have ten different room prefabs in an array.

You set your seed “1” for example.

You now call random range and generate a number between one and ten,

Ten times in a row it will give you ten random rooms.

every time you run your game it will have the same ten rooms until you change the seed.

1 Like