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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login