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 QtQuick 2.0
 import Felgo 3.0

 Item {
   property alias text: label.text

   signal clicked
   signal pressAndHold

   property bool active: false
   property bool clickable: true

   width: label.width
   height: 39

   Text {
     id: label
     anchors.verticalCenter: parent.verticalCenter
     // grey if it is not clickable, green if it is active, black by default
     color: parent.clickable ? parent.active ? "#267920" : "black" : "#555555"
     font.family: fontHUD.name
   }

   MouseArea {
     anchors.fill: parent
     onClicked: parent.clicked()
     enabled: parent.clickable