Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Felgo Threading

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

    Caeser

    Mobile Game and App optimization relies heavily on how you perform calculations.  In this example for player  moves and effects and anmations.  It is good practice to perform calculations in a worker thread and not in the UI Thread. How can one make use of threads in Felgo?

    #10471

    Alex
    Felgo Team

    Hi,

    there are so called WorkerScripts that you can use within QML for threading, have a look here: http://doc.qt.io/qt-5/qtquick-threading-example.html

    Of course you can also do threading on the C++ side, but that’s some more effort of course.

    Cheers,
    Alex

    #10477

    Caeser

    Thanks Alex i will give it a try.

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

RSS feed for this thread

You must be logged in to reply to this topic.