itch.io is community of indie game creators and players

Devlogs

Rendering Tree Meshes

Cavecraft - A Minecraft Clone
A browser game made in HTML5

I started with logic with the grass block and said that if a grass block had a dirt block under it and nothing above of it; it should instantiate a game object with the ability of spawning a oak tree. And as seen in the picture a tree has a 1/80 chance of spawning to get the look of an amazing forest :D This however was just the first step and will be taken further with the implementation of different styles of trees having a chance to spawn. And when biome's are added I will have to change the type of tree/ cactus that would spawn.

Download Cavecraft - A Minecraft Clone
Leave a comment