|
Post by MangyDog on Jul 21, 2017 8:20:46 GMT -8
Just a quick question really... I noticed in the export code for Scren Editor, that its mostly just coprocessor commands that tell it what to do... But I dont see any kind of Screen update command. So this leades me to assume the screen draws each asset and pixel in the order the coprocessor commands are sent. How does one get around assets flickering as each underlayer is drawn before the next layer? Or is there a command that pauses the draw to the LCD untill you have run al your commands and then hit the update? IE like a screen buffer
|
|
|
Post by jamesbowman on Jul 21, 2017 10:28:22 GMT -8
Good question.
There is no frame buffer. Instead there is a display list that holds the drawing commands.
The display list is double-buffered -- when you do
GD.swap();
all the previous drawing commands in the display list become visible.
|
|
|
Post by MangyDog on Jul 23, 2017 2:10:10 GMT -8
Ahh cool thats perfect
|
|