Fractal Tree


You must be logged in to obtain assets


A Fractal Tree Generator Script. Using recursion techniques the script quickly draws a tree to a surface and then converts it to a sprite. You can set any color combination and tweak the code to generate different styles of trees. Larger more complex trees can be created also.

four versions of the script are included scr_draw_tree scr_draw_dead_tree scr_draw_tree_ext scr_draw_dead_tree_ext

The first two versions allow simple one color trees to be drawn. The _ext versions of the trees allow variations in the color per branch and per leaf

Also you can save the images to disk by un-commenting some code. So they can be used to create backgrounds, or sprites. Possibilities are endless.

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 2.0.0. Published August 22, 2014

added scr_draw_tree scr_draw_tree_ext scr_draw_dead_tree scr_draw_dead_tree_ext

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait