How to use Back Buffer for drawing ?
-
I want use Back Buffer for drawing my scene.
I want draw all scene to BB and after that draw BB to screen.
With BB I will have no blink effect. And can redraw all screen each frame.
How to create BB and use it? I did not found API for that -
Hi @progman the graphics library on the M5Stack is quite limited not sure there is a back buffer. If you are looking to layer images, create sprites and tiles for games or UI you could check out the arduboy library https://github.com/phillowcompiler/ArduboyOnM5StackFACES or the stage tile and sprite library https://www.hackster.io/deshipu/stage-a-tile-and-sprite-engine-e9e655
-
@progman said in How to use Back Buffer for drawing ?:
I want use Back Buffer for drawing my scene.
I want draw all scene to BB and after that draw BB to screen.
With BB I will have no blink effect. And can redraw all screen each frame.
How to create BB and use it? I did not found API for thatUnfortunately not enough people are working on UIFLOW/Micropython graphics at the moment and so not much is known.
-
Unfortunately, thats a big problem. Lack of information/examples/libraries and such pushing people away from M5Stack devices. I've talked to my partners, and they said they not gonna switch until more docs/libs available. Hopefully M5Stack team will focus on this someday
-
@thrasher I’m currently working on the UIFlow document and have some WIP document uploaded in the project forum. Any feedback on them will be great fully accepted
-
@ajb2k3 I can help with translation if you're interested, shoot me a message via p.m.
Thanks! -
@thrasher thanks please have a look at what I have uploaded so far. My main document in in the UIFlow roadmap discussion.
-
Hi @Thrasher, did you take a look at those libraries? you still didn't mention what it is that you want to do. There is also the framebuf library that may help, search framebuf.py on github