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

ChickenOutbreak Demo

 import QtQuick 2.0
 import Felgo 4.0
  // needed for Body.Static

 EntityBase {
   entityType: "roost"

   poolingEnabled: true

   // put them before the windows
   z:1

   Component.onCompleted: console.debug("Roost.onCompleted()")
   Component.onDestruction: console.debug("Roost.onDestruction()")

   Image {
     id: sprite
     source: Qt.resolvedUrl("../../assets/img/roost_higher.png")

     width: level.gridSize
     height: 8

     anchors.centerIn: parent
   }

   BoxCollider {
     id: collider
     bodyType: Body.Static

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded