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).

Age Rating: 4+


GMS2 - Version 1.0.0. Published November 10, 2018

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top