Sunday, November 20, 2016

Harvest Booze Update #3: Trees!

Check out these trees:


I want trees of the same species to look similar, of course, but I also want enough variation to keep things from looking too copy & pasty. I also really don't want to draw a bunch of shit. So all of the above trees (and over 18 quintillion more #NoMansFarm) are procedurally generated from this humble set of art assets:


The game resizes, colors & assembles these pieces on its own whenever it needs a tree. There are a few bonuses to this general method; for one, it means I can animate the tree growing over time by basically having all the pieces start out small & green, then slowly stretching them into the adult tree. Also, since all of the leaves are colored & drawn individually, it should be easy to have them change color naturally in the fall & to drop from the branches individually as winter approaches. I suspect there may be performance-related problems with this approach, treating each leaf individually, but I'll deal with that later.

I think I'll hold off for now on making the trees actually grow so that I can get into some gameplay stuff sooner. I'm going to get rocks & grass into the game, then start working on the inventory & crafting systems. Once we can start crafting tools & collecting wood, I should at least have a nice little lumberjack simulator on my hands.

No comments:

Post a Comment