Layers and double buffer in same project

Find quick help here to get you started with Hollywood
Post Reply
oceanarts
Posts: 65
Joined: Mon May 27, 2024 10:42 pm

Layers and double buffer in same project

Post by oceanarts »

Am I able to use Layers and Doublebuffer approach inside the same project and switch between them?
If so, how exactly? Just use BeginDoubleBuffer() - EndDoubleBuffer() and such?

Searching the PDF docs is a pain. :lol:
phipslk
Posts: 34
Joined: Sun Oct 29, 2023 7:21 pm

Re: Layers and double buffer in same project

Post by phipslk »

you must disable layers to use DoubleBuffer(). But why would you mix these two things?

see: https://www.hollywood-mal.com/docs/html ... ayers.html
Bugala
Posts: 1260
Joined: Sun Feb 14, 2010 7:11 pm

Re: Layers and double buffer in same project

Post by Bugala »

You can, and it can sometimes be useful solution even, although, basically if it becomes a good solution, then it Is basically because you already did something wrong before (talking from experience here).
oceanarts
Posts: 65
Joined: Mon May 27, 2024 10:42 pm

Re: Layers and double buffer in same project

Post by oceanarts »

phipslk wrote: Wed Jun 05, 2024 6:35 pm you must disable layers to use DoubleBuffer(). But why would you mix these two things?

see: https://www.hollywood-mal.com/docs/html ... ayers.html
Well, I read somewhere in the docs that some things might be better suited for a Double Buffer approach while other things may do better with Layers.
I've already written one part using DoubleBuffer as it is more fast paced, and the other main part using layers as it is more of a point and click type thing. I'd rather not attempt to rewrite anything at this point if I don't have to.
Post Reply