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

Multi-Scene-Multi-Level Demo

 import QtQuick 2.0
 import Felgo 4.0
 import "../common" as Common

 Common.LevelBase {
   levelName: "Level1"

   Rectangle {
     color: "orange"
     width: 100
     height: 100
     radius: 10
     anchors.centerIn: parent
     MouseArea {
       anchors.fill: parent
       // since the level is loaded in the gameScene, and is therefore a child of the gameScene, you could also access gameScene.score here and modify it. But we want to keep the logic in the gameScene rather than spreading it all over the place
       onPressed: rectanglePressed()
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded