Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › TextView performance issues

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4357

    Philipp

    We have a pretty big TextView in our game to show the current scores. It dynamically changes if a player gets hit by a bullet. On every hit the game lags as hell (only on Android). If we now uncomment this TextView the lag issue is solved. How do we avoid this problem?

    #4361

    Alex
    Felgo Team

    Hi,

    text can be a real performance killer in certain cases. How big is “pretty big” in terms of characters, and how often are you updating the text? 😉

     

    Cheers,
    Alex

    #4363

    Peter

    As we found out “googling” around, QML Text objects are in fact performance killers, therefor we had to remove the text view. The Text size was 275 px, we now use graphics for our score and it works like a charm. 🙂

     

    Cheers,

    Peter

    #4367

    Alex
    Felgo Team

    275px is not that big, we are sometimes using text elements with 1000px and more. 😉 The problem could however be the update rate of the text, every update of a Text item triggers the generation of a new texture which can quickly sum up in terms of creation time if you change the score often.

    Nevertheless, great you bypassed the problem with a graphic. 🙂

    Cheers,
    Alex

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded