Thanks for reply.
I was thinking about 3D top-down game. Tiles are not necessary, but I thought it may be easier with them. As in first post I want a pretty much unlimited distance flat or at least generated X:Y map with trees on it.
My ideas:
- Add X:Y flat map in the designer and scatter the trees using algorithm on the whole map.
- Make tiles, scatter trees on them, save them and procedurally generate a map from them.
- Procedurally add tiles and scatter trees while adding them. – I think this would be the best.
Making the scattering algorithm shouldn’t be difficult for me and the tutorial imsarah provided teaches how to procedurally generate a map using ready tiles.
Now I have two problems only:
- Which idea is the best? Maybe there’s a better one?
- (Optional) How to generate a tile in a place where there are no tiles and the place is near player? (Video shows only how to generate NxM tiles) Just Tick and look if there should be a tile, but isn’t or use some kind of event?