Forums

OverviewV-Play 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
    V-Play 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
    V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support