Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. qml, play animations from start, playback, and run from arbitrary point

qml, play animations from start, playback, and run from arbitrary point

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 294 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HandzoHasashi
    wrote on last edited by
    #1

    Hello. I want to write card game in qml. With ability to replay each deal. This replay should act like a normal video (scroll forward/back). The question is: How can i play all animations from arbitrary time?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      You need to randomly calculate the arbitrary time and set for each animations. Based on this restart animation.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • H Offline
        H Offline
        HandzoHasashi
        wrote on last edited by
        #3

        It will be easier to implement this in C++, not in qml. But the documentation says, that performance of QQuickPaintedItem is not good enough. Is there any other way to implement game scene in C++ and integrate it in QML?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved