Click the green flag to generate a world Note: the red X's generate flowers. This code is for a unity game that I am creating, I just needed to figure out how to do this.
Bugs: occasionally not enough flowers will spawn in, or a flower will randomly go onto a stone block in the lower right hand corner Credit: me