I was hoping to do some procedurally generated plants / trees in my game, but I have a few criteria:
1) I need to be able to control the points of growth only because:
2) I need to remember the intersection points so I can place 'leaf' sprites & berries on them.
I was thinking of doing the first part via canvas, by generating tree arrays containing the growth points, then drawing (over time) the lines to the points of growth.
The thing is, in my experimentation with Canvas, it seems having multiple instance of one canvas will draw the same thing on all instances, even in a foreach scenario. So im wondering: do I make one bigass canvas the dimensions of my entire layout (20,000 x 20,000 layout tho...) or will that cause some intense performance issues? Is there a nicer way to do it? If im drawing thousands and thousands of little branch sprites will that effect performance? I guess i should just get down to testing but I thought id see what you guys thought before i went too far down a dead end, in case you've dealt with this already.
as always - infinite thank you's. :)
Hugs, nate