To make an image and its associated animation repeat for a definite time...



  • hi i hav a ball image and a number animation associated with that...the ball will flow with x-coordinates chosen randomly...i want to make that ball flow continuously for a finite amount of time...any one pls help me with this...

    @
    Image {

              id: balls
    
              x:RP.getRandomArbitary()
    
               source:RI.randomImage()
    
              NumberAnimation on y{
    
                from: -750
    
                to: 450
    
                easing.type: Easing.InOutQuad
    
                duration: 4000
    
              }
    
     }
    

    @

    Edit: please use @ tags around code sections. Also moved to Quick forum; Andre


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.