Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

ChickenOutbreak2 Demo

 import QtQuick 2.0
 import Felgo 3.0

 SceneBase {
   id: splashScreen

   state: "exited"

   signal loadingFinished()

   MultiResolutionImage {
     id: squabyBg
     source: "../assets/splashscreen.png"
     anchors.centerIn: gameWindowAnchorItem
   }

   // Called when scene is displayed
   function enterScene() {
     state = "entered"
     opacity = 1.0
   }
   function exitScene() {
     opacity = 0.0
   }

   Behavior on opacity {
     PropertyAnimation {
       duration: 150
       onRunningChanged: {
         if(!running) {
           if(splashScreen.opacity === 0.0) {
             loadingFinished()
           }
         }
       }
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded