i've been trying to find an answer to this question for ages now so figured i would ask here so... how would i create procedurally generated 2d top down terrain with biomes trees flowers mobs boulders bits of stone entrances to caves structures such as houses and the ruins of ancient civilizations maybe various beneficial items scattered about a few harmful ones and some joke items here and there as well as other such things... any help would be most appreciated... thank you
How would i go about procedurally generating 2d top down terrain with biomes 'n the like
This discussion was caught in the moderation queue since you have not confirmed your account yet.
Upon creating your account you should have received an account verification email. The confirmation email may have been incorrectly flagged as spam, so please also check your spam filter. Without confirming your account, future posts may also be caught in the moderation queue. You can resend a confirmation email when you log into your account if you cannot find the first verification email.
If you need any help, please let us know! Thanks! :smile:
- Edited
Let's just start from the beginning. More specifically, the biomes. Now while you may not have any real "height" since it's a 2D top down game, simulating height can allow you to generate water bodies. If the height of the terrain is less than a threshold, then there should be water. Also, you could generate some temperature and humidity values too. - High temperature, Low humidity, desert! - Low temperature, Low humidity, snowy waste land - etc..
The height, temperature, and humidity values can be generated with perlin noise. Just tweak it enough to get the right balance of biomes. Other structures can be generated based on the biomes. For example, you can't generate trees in the middle of the desert.
This sort of thing I got from how Minecraft generates it's world. You could look further into that if you'd like.