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!

GameNetworkExample

 import Felgo 3.0 // for SimpleButton
 import QtQuick 2.0

 Item {
   id: testBase
   width: parent.width
   height: scene.testHeight
   anchors.top: testRow.bottom
   anchors.topMargin: 3
   //spacing: 2

   SimpleButton {
     color: "red"
     opacity: 0.5
     // put it on top of other child elements of the tests
     z:10
     anchors.right: parent.right

     text: "loading"

     // show this rect when this scene is visible and currently waiting for a response
     visible: testBase.visible && gameNetwork.waitingForResponse
     // no onclicked handler needed
   }

   SimpleButton {
     color: "red"
     opacity: 0.5
     // put it on top of other child elements of the tests
     z:10
     anchors.right: parent.right
     anchors.bottom: parent.bottom

     text: "ConnError"

     // show this rect when there is a connectionError
     visible: gameNetwork.connectionError