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: "badCoin"
   poolingEnabled: true
   // put them before the windows
   z:1

   Image {
     id: sprite
     source: Qt.resolvedUrl("../../assets/badCorn.png")
     width: 10
     height: 19
     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
     sensor: true

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded