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

ChickenOutbreak2 Demo

 import QtQuick 2.0
 import Felgo 4.0

 EntityBase {
   entityType: "doublePoints"
   poolingEnabled: true
   // put them before the windows
   z:1

   Image {
     id: sprite
     source: Qt.resolvedUrl("../../assets/x2.png")
     width: 18
     height: 18
     anchors.centerIn: parent
   }

   property alias collider: collider
   BoxCollider {
     id: collider
     bodyType: Body.Static
     anchors.fill: sprite
     // it should not affect the movement of the player
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded