# Procedural generation

**URL:** https://forum.makecode.com/t/procedural-generation/5383
**Category:** Show & Tell
**Tags:** game
**Created:** [January 6, 2021, 6:15pm UTC](https://forum.makecode.com/t/procedural-generation/5383 "2021-01-06T18:15:27Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [January 6, 2021, 6:15pm UTC](https://forum.makecode.com/t/procedural-generation/5383/1 "2021-01-06T18:15:27Z")

</div>

Since procedural generation seems to be the new hip thing (ex. @GameGod’s [Otherwordly](https://forum.makecode.com/t/otherworldly/5314)) and the fact that we now have [seedable RNGs](https://forum.makecode.com/t/fast-random-extension/5365) (haha shameless self-promotion) I’ve decided to make a top-down procedural generator!

> **[Procedural Generation v1.0.0](https://arcade.makecode.com/86639-54341-37016-62619)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Input a seed, (the seed used in the preview above is `1234`) and walk around! When you go past the screen you will enter a new “chunk.” You also can’t walk through stuff like trees and stumps, but you can walk behind and in front of it! (And since I suck at pixel art, all of the images came from the gallery!)

There are 3 biomes you can find in a chunk:

- A plains (will have flowers, some trees)
- A forest (will have lots of trees, mushrooms, and stumps)
- A dark forest (same as a regular forest, but the greens are darker)

I have yet to see a dark forest. 🤔

Please share a GIF of an interesting seed you found!

Known bugs:

- Inputting the seed `0` will cause the game to hang.
- Inputting really large numbers for seeds sometimes might be too big for the RNG. @richard do you know the biggest number possible I can use as a seed? (I’m guessing 65535)

It also works on my PyGamer! The seeds will also stay the same!

---

_[View the full topic](https://forum.makecode.com/t/procedural-generation/5383)._
