Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Flappy Bird Game

 import Felgo 3.0
 import QtQuick 2.0

 Item {
   id: button

   signal clicked
   signal pressed
   signal released

   width: sprite.width
   height: sprite.height

   property alias source: sprite.source

   MultiResolutionImage {
     id: sprite
   }

   MouseArea {
     id: mouseArea
     enabled: button.enabled
     anchors.fill: button
     hoverEnabled: true

     onClicked: button.clicked()
     onPressed: button.pressed()
     onReleased: button.released()
   }

   onClicked: {
   }

   onPressed: {
     opacity = 0.5
   }

   onReleased: {
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded