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


OverviewFelgo 3 Support (Qt 5) › example game 2048

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

    lily jen


    I tried to update the grid to a 6 x 6 (by changing the grid size on main.qlm) but the game doesn’t work well anymore…

    I have display issues. some black tiles. some weird stuff. lagging ect.

    What can I do ?


    Moreover, when I try to delate the mousearea, the game doesn’t work at all. I just want to keep the keyboard controls for a computer.


    Thanks 🙂



    lily jen

    nobody ?


    Felgo Team


    that’s an interesting one. This seems to be a rendering issue with rounded rectangles stacked. If you remove the radius from the backbround rectangle, everything is fine:

        Rectangle {
          id: background
          anchors.fill: gameScene.gameWindowAnchorItem
          color: "#B6581A" // main color
          border.width: 5
          border.color: "#4A230B" // margin color
          //radius: 10 // radius of the corners

    Removing the MouseArea works fine though, then you can play the game with only the keyboard. You can also just set enabled of the MouseArea to false.


Viewing 3 posts - 1 through 3 (of 3 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