Created
January 20, 2017 05:06
Revisions
-
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,48 @@ ParallelAnimation { id: shake_card running: false alwaysRunToEnd: true ParallelAnimation { ColorAnimation { target: thefirstword; property: "color" ; to: first_word_color;duration: brokecolors ? 1000 : 0 ; easing.type: Easing.Linear; } ColorAnimation { target: thefirstword; property: "styleColor" ; to: "#00000000";duration: brokecolors ? 1000 : 0 ; easing.type: Easing.Linear; } ColorAnimation { target: thesecondword; property: "color" ; to: second_word_color;duration: brokecolors ? 1000 : 0 ; easing.type: Easing.Linear; } ColorAnimation { target: thesecondword; property: "styleColor" ; to: "#00000000";duration: brokecolors ? 1000 : 0 ; easing.type: Easing.Linear; } } ScriptAction{script: change_background_on_gameover.start(); } SequentialAnimation { NumberAnimation { target: card; duration: 15 ; property: "rotation"; to: 8 ; } NumberAnimation { target: card; property: "x"; to: theX+30 ; duration: 40 ; easing.period: 1.1; easing.amplitude: 1.1; easing.type: Easing.OutInQuart; } NumberAnimation { target: card; duration: 15 ; property: "rotation"; to: -8 ; } NumberAnimation { target: card; property: "x"; to: theX-30 ; duration: 40 ; easing.period: 1.1; easing.amplitude: 1.1; easing.type: Easing.OutInQuart; } NumberAnimation { target: card; duration: 15 ; property: "rotation"; to: 4 ; } NumberAnimation { target: card; property: "x"; to: theX+20 ; duration: 45 ; easing.period: 1.1; easing.amplitude: 1.1; easing.type: Easing.OutInQuart; } NumberAnimation { target: card; duration: 15 ; property: "rotation"; to: -4 ; } NumberAnimation { target: card; property: "x"; to: theX-20; duration: 45 ; easing.period: 1.1; easing.amplitude: 1.1; easing.type: Easing.OutInQuart; } NumberAnimation { target: card; duration: 15 ; property: "rotation"; to: 2 ; } NumberAnimation { target: card; property: "x"; to: theX+10 ; duration: 45 ; easing.period: 1.1; easing.amplitude: 1.1; easing.type: Easing.OutInQuart; } NumberAnimation { target: card; duration: 15 ; property: "rotation"; to: -2 ; } NumberAnimation { target: card; property: "x"; to: theX-10 ; duration: 45 ; easing.period: 1.1; easing.amplitude: 1.1; easing.type: Easing.OutInQuart; } NumberAnimation { target: card; duration: 15 ; property: "rotation"; to: 0 ; } NumberAnimation { target: card; property: "x"; to: theX ; duration: 80 ; easing.period: 1.1; easing.amplitude: 2.1; easing.type: Easing.OutInQuart; } PauseAnimation { duration: 600 } } onStopped: { audioManager.play(66) card_animations.correciton_animation.start() } }