OverviewFelgo 2 Support (Qt 5) › Display FPS

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #9174



    How do is display the fps of my game.
    displayFpsEnabled property in GameWindow does not seem to work anymore.


    – Mathias



    well, in my case it seems to display it too far to the bottom. in the last y-row of the window i can see some pixels that have the color of displayFpsColor and they change once in a second or so.


    Felgo Team


    Like Martin already found out the FPS display is positioned incorrectly at the bottom of the window.
    Thank you for reporting this issue, we will have a fix ready for the next update.


    As a temporary solution, you can use this line to fix the issue:

    GameWindow {
      id: gameWindow
      // ...
      displayFpsColor: "red"
      displayFpsEnabled: true
      Component.onCompleted: gameWindow.gameWindow.height = Qt.binding(function() { return gameWindow.contentItem.height })
      // ...




Viewing 3 posts - 1 through 3 (of 3 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
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support