hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    BM fonts have no blending options

    Scheduled Pinned Locked Moved
    Comments & Feedback
    3
    17
    1.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.
    • Aidan_FireA
      Aidan_Fire @RobinsonX
      last edited by

      @robinsonx I'm not sure you understand what I'm asking for. You know how objects have blending mode options? Like you can use additive or dodge or burn etc? TTF fonts have this option, while BM fonts are stuck with no blending options but I want the dodge effect. I don't want to just use TTF because they are too laggy for spawning tonnes of them (I'm using some labels as score numbers that pop up when you get score, similar to damage numbers in other games).

      1 Reply Last reply Reply Quote 0
      • Aidan_FireA
        Aidan_Fire
        last edited by Aidan_Fire

        Oh I see what you're saying now, yes they are spawned labels but no matter what you do with spawning TTF labels they will always be laggier. I had a project to prove that just having TTF labels sitting in your project doing absolutely nothing is more than 10x laggier than having BM fonts sitting around doing nothing (as in you can have like 10x more BM fonts than TTF fonts before the project starts to lag and go below 60fps).

        In my project it would be hard to tell exactly how many I would need to keep for recycling, but again just having them sit outside the screen waiting to be recycled might be too laggy (at least on iPad Air).

        1 Reply Last reply Reply Quote 0
        • RobinsonXR
          RobinsonX
          last edited by

          I used this technique before, I just Hide the text when it's done displaying and Show the text when it pops up, I think it saves rendering time. :)

          Aidan_FireA 1 Reply Last reply Reply Quote 0
          • Aidan_FireA
            Aidan_Fire @RobinsonX
            last edited by

            @robinsonx Also just changing the text on a TTF font is a little bit laggy, these score indicators for my game aren't always giving the same amount of score so I have to set the TTF label every time they spawn. Try running a 0s timer that just adds 1 to a TTF label. If your iPad doesn't lag, then I want a new iPad 😛. BM fonts are so much nicer for labels that change often in games, they're just a bit harder to use.

            1 Reply Last reply Reply Quote 0
            • RobinsonXR
              RobinsonX
              last edited by

              0_1549365518102_6AE86DD4-B396-46AD-9AC9-E0A00342BB83.jpeg

              😅 It's fine for my device... but then that would mean that some devices would need to optimize for a less laggy gameplay, most games have an automatic graphic setting to fix this.

              In this case, we could have an option to use a TTF font or a BM font.

              Aidan_FireA 1 Reply Last reply Reply Quote 0
              • Aidan_FireA
                Aidan_Fire @RobinsonX
                last edited by

                @robinsonx Wow, you even have glow effect on it, and you're changing that label every frame too? My iPad is clearly getting old lol. But still, if that lags my iPad to death it is still pretty resource heavy and will lag a game down a bit if you have other heavy stuff happening and probably use more battery. Could you duplicate that label a few times? Curious to know how many of that label your iPad can handle before it lags.

                1 Reply Last reply Reply Quote 0
                • RobinsonXR
                  RobinsonX
                  last edited by

                  0_1549452009320_0DB5593E-C12D-4736-AF74-CAA0CC6E06DD.jpeg

                  I can place another one before it starts to lower the fps a bit. 3 labels going out with a timer of 0 seems to be the cap. :)

                  1 Reply Last reply Reply Quote 0
                  • RobinsonXR
                    RobinsonX
                    last edited by

                    Oh, yeah and each label has it's own timer that executes every frame. @Aidan-Oxley

                    Aidan_FireA 1 Reply Last reply Reply Quote 0
                    • Aidan_FireA
                      Aidan_Fire @RobinsonX
                      last edited by

                      @robinsonx It also really depends on the font you use and especially the size of the font. My label is a little bit bigger than yours I think but I only have 1:
                      0_1549464221282_267D2B28-40EF-4711-A764-C678C0D6B9FE.png

                      1 Reply Last reply Reply Quote 0
                      • RobinsonXR
                        RobinsonX
                        last edited by

                        Woah...

                        Yeah, I think making the font smaller and the scale big helps a bit. I noticed that it may lower the resolution of the text but it increases performance. :)

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