boskee / Minecraft

Simple Minecraft-inspired program using Python and Pyglet
MIT License
207 stars 33 forks source link

more unique biomes. see discrip. #68

Closed ronmurphy closed 11 years ago

ronmurphy commented 11 years ago

code specific (patch) is terrain.py. in def generate_sector(self, sector):

all of that code. that is the full update. if you just want to copy/paste as a patch.

Nebual commented 11 years ago

You haven't actually tested this, have you? Lowering height_base will cause there to be less underground area, I don't think that was your intention. Also, changing height_base and height_range like that will not smoothly transition between biomes at all. If a block was at say, 35 in a plains biome, it'd suddenly be at 22 in a mountain biome. Making zoom_level larger (say, 0.01) might work better for mountains.

ronmurphy commented 11 years ago

actually i have tested this. i was planning when we add in biome transitions to have a comparible height_base and height_range comparison. it would transition from one biome to the other, then let the new one take over.

Look at minecraft. the land constantly changes, a set specific layer for standard land generation does not exist.

we dont have true biome settings yet (but we should, i hope, soon)

But I do understand what you mean, lowering the height_base does remove the harder to get ores (diamond, etc...)

I was just looking for a way to make valleys by the mountains. feel free to do edits and suggests.

ronmurphy commented 11 years ago

also, if i set mountain height_base at the normal of 32, you start off in rock.