Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

ChickenOutbreak Demo

 import QtQuick 2.0
 import Felgo 3.0 // for the vplayScheduler enum values

 Column {
   spacing: 2
   anchors.centerIn: parent

   MenuButton {
     text: qsTr("Resume")
     onClicked: scene.state = "" // reset to default state, so hide this menu
   }

   MenuButton {
     text: qsTr("Restart")
     onClicked: {
       level.restartGame();
       scene.state = "" // reset to default state, so hide this menu
     }
   }

   MenuButton {
     text: qsTr("Toggle Physics Debug")
     onClicked: {
       physicsWorld.debugDrawVisible = !physicsWorld.debugDrawVisible
     }
   }

   MenuButton {
     text: vplayScheduler.schedulingMethod === VPlayScheduler.None ? qsTr("Current Scheduler: every update") : qsTr("Current Scheduler: accumulated")
     onClicked: {
       if(vplayScheduler.schedulingMethod === VPlayScheduler.None)
         vplayScheduler.schedulingMethod = VPlayScheduler.Accumulated
       else
         vplayScheduler.schedulingMethod = VPlayScheduler.None
     }
   }

   MenuButton {
     text: qsTr("Toggle Background Movement")
     onClicked: {
       levelBackground.running = !levelBackground.running