Ztrees is a set of scripts that draws animated procedural trees. There are endless possibilities and a lot of customization.

You can draw them directly in the game (Wich is very costly) or get a surface/sprite with:


=> Draw the tree at the (x,y) position with the given parametters


=> returns a surface with the drawn tree


=> returns a sprite with the drawn tree



=> drops leaves at the correct branch position.

Initialization and finalization:

ztree_init_global() - You'll need to call this once at the start of the project.

ztree_init() - You'll need to call this once at the create event of every object that will.

ztree_free() - You'll need to call this to prevent memory leak.

End User Licence Agreement (EULA).

Version 1.0.0. Published November 10, 2018

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.

No reviews yet

No reviews have been left for this asset - be the first!

Package contents

Loading, please wait

What is the issue?

Back to Top