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!

Stack With Friends Demo

 import Felgo 3.0
 import QtQuick 2.0
 import QtMultimedia 5.0

 Item {
   id: audioManager

   property int idSPAWN: 11
   property int idGAMEOVER: 22

   property bool toggleSPAWN

   function play(clipID) {
     // if settings disable do not play sounds
     if(!settings.soundEnabled)
       return

     switch(clipID) {
     case idSPAWN:
       if(toggleSPAWN) clipSPAWN_1.play()
       else clipSPAWN_2.play()
       toggleSPAWN = !toggleSPAWN
       break
     case idGAMEOVER:
       clipGAMEOVER.play()
       break
     }
   }

   Audio {
     id: clipSPAWN_1
     source: "../../assets/snd/spawn.wav"
     volume: 1
   }
   Audio {
     id: clipSPAWN_2
     source: "../../assets/snd/spawn.wav"
     volume: 1
   }
   Audio {
     id: clipGAMEOVER
     source: "../../assets/snd/gameover.wav"