Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. Running man demo in QML
Qt 6.11 is out! See what's new in the release blog

Running man demo in QML

Scheduled Pinned Locked Moved Showcase
6 Posts 2 Posters 4.1k Views 1 Watching
  • 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.
  • frankcyblogic.deF Offline
    frankcyblogic.deF Offline
    frankcyblogic.de
    wrote on last edited by
    #1

    I recently spend some time on elaborating the limits of Qt Quick and its animation capabilities. One of the outcomes was this little demo I'd like to share:

    "Youtube":http://www.youtube.com/watch?v=r5kEIJobVnc

    Source code on "gitorious":https://www.gitorious.org/qt-training/qml-demos/trees/master/runner .

    Happy hacking,
    Frank.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

      Nice work! Simple code - pretty result.

      --
      Vasiliy

      1 Reply Last reply
      0
      • frankcyblogic.deF Offline
        frankcyblogic.deF Offline
        frankcyblogic.de
        wrote on last edited by
        #3

        Ahh, yes, but it is not simple!-) It was my first try. Actually it uses 4 states which I ripped from a youtube video. You could do it with two states mirrored pair-wise. The interesting point I see: Quite natural motion can be mimicked with linear easing curves.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vsorokin
          wrote on last edited by
          #4

          I not mean that was easy did it. I mean code seems simple and clear for using. :)

          --
          Vasiliy

          1 Reply Last reply
          0
          • frankcyblogic.deF Offline
            frankcyblogic.deF Offline
            frankcyblogic.de
            wrote on last edited by
            #5

            Hmmm... it's QML after all;)

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vsorokin
              wrote on last edited by
              #6

              Hehe, unfortunately I can't show you what QML code can be dirty, but I saw it. :)

              --
              Vasiliy

              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