MenuScene.qml Example File

 import Felgo 3.0
 import QtQuick 2.0

 Scene {
   id: menuScene

   // listen to the start button from anywhere, we use this to change the state in the GameWindow
   signal startPressed

   // background image for the menu
   Image {source:"../assets/img/titleScreen.png"; anchors.fill:parent}

   // background music for the menu
   BackgroundMusic {id: backgroundMusic; source:"../assets/snd/ZombieBreakTheme.mp3"}

   // custom play button
   Image {
     anchors.centerIn: parent
     source: "../assets/img/playButton.png"
     MouseArea {
       // the mouse area fills the whole image
       anchors.fill: parent
       // when pressed we stop the music and call the signal startPressed
       onPressed: {

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support