Progressing

Managed to create a random treasure spawner. It has:

– An GameObject array to throw in different types of treasure.

– A public int for changing how many treasures spawn.

– A public float for changing the min allowed distance between treasures (works good enough)

– A Vector 2 for changing the allowable spawning square.

To Create:

Only have one treasure type at the moment, but when I put in more it will randomize how many of each is distributed.

If I decide to make the game point based I’ll tighten the hold on the spawner so there is a set amount of each type, this will prevent someone from getting lucky and only getting high valued treasures.