ddmills / big-waterbird

3 stars 1 forks source link

Create base level manager #23

Open ddmills opened 8 years ago

ddmills commented 8 years ago

The level manager component should reliably recreate a level given a seed.

Base level manager does not need to actually generate the levels yet, just choose between the available rooms.

selfsame commented 8 years ago

setting UnityEngine.Random.seed and then using using UnityEngine.Random.value will do this, we should have some static functions for randomNth on an array and stuff to make use of that

ddmills commented 8 years ago

agreed, and having an input field for the seed from the menu would be nice too