3 ms·
For random world generation like this, how do you make changes to the generator (like adding taller mountains) without breaking saved games and world seeds that
by seanwilson 5y ago
For random world generation like this, how do you make changes to the generator (like adding taller mountains) without breaking saved games and world seeds that people have written down?
Guessing you could let the saved game or the player pick which world generation algorithm to use and you need to keep the code for the old and new generator around? It's probably less of a big deal for e.g. rouge-like games are over for good in a few hours, but not for games like Minecraft.
- mysterydip 5y agomaps only generate as far as players have seen. So an old world would have old features until you explore new areas. To expand: Any generated chunk is considered "user modified" and saved whole, since a player could put houses or change blocks there. New areas are generated by the algorithm once reached. This works for new versions of the game as well as mods that add/change biomes.
- seanwilson 5y agoHow do you deal with e.g. a chunk saved from the old generator with a low mountain transitioning into a chunk generated by the new generator with a huge mountain? It blends between them somehow so all the old chunks are surrounded by old/new blended chunks until all of those are surrounded by new chunks from then on?
- Matrix89 5y agoYup, starting with 1.18 the started blending old chunks with the new ones. Earlier there was a hard transition, personally I prefered the hard cut, there was something to it, something mysterious about it, but I get why they wated it removed
- Alphaeus 5y ago1.7 was actually the first version to support blending (for the new generator in that update). 1.18 is a new iteration of that.
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]