Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

We can't leave the leaves out

Sorry about the stupid title, but hey! Trees can have leaves now:

The editor can control how many leaves, their sizes and their properties like shape and color:


Well, to be more precise the editor controls how the generator randomizes the trees.

How are the leaves generated in the code:

  • Make a bezier Spline along the Y axis
  • Tesselate vertices in it and in the Y axis itself
  • Triangulate the vertices.
  •  Mirror-copy it to the other side of the axis
  • UVs: goes bottom-top and center-side direction.

Game is around 10% complete and 22% ready for alpha release.

We just hit the 10% mark!!! Yay! ᕕ(⌐■_■)ᕗ ♪♬