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: scene

   // needs to be accessed assigned to the FelgoGameNetwork, so it can show it
   property alias gameNetworkView: gameNetworkView

   onBackButtonPressed: {
     goBackToMenu()
   }

   GameNetworkView {
     id: gameNetworkView
     anchors.fill: scene.gameWindowAnchorItem

     // this is only used temporarily, until the font issue is fixed
     onBackClicked: {
       goBackToMenu()
     }
   }

   function goBackToMenu() {
     audioManager.play(audioManager.idMENUCLICK)
     if(windowMainItem.lastState === "gameOver") {
       window.state = "gameOver"
     } else {
       window.state = "main"
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded