Page 1 of 1
Working with Layers
Posted: Thu Sep 03, 2026 3:32 pm
by Juan Carlos
When working with layers, at some point when many images overlap, the program or game slows down. Is there any way to avoid this, or is the only option to use RemoveLayers every so often and redraw all the content? The Undo option doesn't really solve the slowdown problem either.
Thank you for the ideas.
Re: Working with Layers
Posted: Mon Sep 07, 2026 10:40 pm
by airsoftsoftwair
Juan Carlos wrote: ↑Thu Sep 03, 2026 3:32 pm
When working with layers, at some point when many images overlap, the program or game slows down. Is there any way to avoid this
If you have layers that are completely concealed by other layers you could hide them in order to speed up drawing. Otherwise Hollywood will draw the layers even if they aren't visible at all because the layers engine isn't that optimized. All layers that are not set to hidden will be drawn, even if they're actually fully behind other layers. The reason for this behaviour is that layers was never designed for high-speed drawing. For high-speed drawing, hardware-accelerated double buffers must be used. The idea behind the layers library is maximum flexibility and convenience, not maximum drawing performance.
Re: Working with Layers
Posted: Tue Sep 08, 2026 10:50 am
by Juan Carlos
Thank you for the answer, I continue using the trick to RemoveLayers each 10 or 15 times that click on a button as solution, because with double buffers always I found other problems, when you use videos, etc.