daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Sep 9th, 2013 22 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     Splash {
  2.         id: splashScene
  3.         opacity: 0
  4.     }
  5.  
  6.     Starmap {
  7.         id: starmapScene
  8.         opacity: 0
  9.     }
  10.  
  11.     state: "splash"
  12.  
  13.     states: [
  14.       State {
  15.         name: "splash"
  16.         PropertyChanges { target: splashScene; opacity: 1}
  17.       },
  18.       State {
  19.         name: "starmap"
  20.         PropertyChanges { target: starmapScene; opacity: 1}
  21.       }
  22.     ]
  23.  
  24.     onStateChanged: console.log("HUD: switched to state '", state, "'")
  25.  
  26.  
  27.     transitions: [
  28.         Transition {
  29.             NumberAnimation {
  30.                 property: "opacity"
  31.                 easing.type: Easing.InOutQuad
  32.                 duration: 10000
  33.             }
  34.         }
  35.     ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top