🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to use Back Buffer for drawing ?

    SOFTWARE
    4
    8
    13.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      progman
      last edited by

      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

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • lukasmaximusL
        lukasmaximus
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3 @progman
          last edited by

          @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 that

          Unfortunately not enough people are working on UIFLOW/Micropython graphics at the moment and so not much is known.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • T
            Thrasher
            last edited by

            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

            ajb2k3A 1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3 @Thrasher
              last edited by

              @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

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              T 1 Reply Last reply Reply Quote 0
              • T
                Thrasher @ajb2k3
                last edited by

                @ajb2k3 I can help with translation if you're interested, shoot me a message via p.m.
                Thanks!

                ajb2k3A 1 Reply Last reply Reply Quote 1
                • ajb2k3A
                  ajb2k3 @Thrasher
                  last edited by

                  @thrasher thanks please have a look at what I have uploaded so far. My main document in in the UIFlow roadmap discussion.

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • lukasmaximusL
                    lukasmaximus
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post