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

Durdles - 2-Player Action Game

 import QtQuick 2.0
 import Felgo 4.0
 import "../levels"
 import ".."

 // the splat image appears every time a snowball or icicle hits an object
 EntityBase {
   id: splat
   entityType: "splat"
   entityId: "splat"

   property alias splatTimer: splatTimer

   Image {
     width: 15
     height: 25
     anchors.centerIn: parent
     source: Qt.resolvedUrl("../../assets/img/Splat.png")
   }

   onEntityCreated: splatTimer.running = true

   // show the image for a small period of time and remove it
   Timer {
     id: splatTimer
     interval: 300
     running: false
     repeat: false

     onTriggered:{
       splat.destroy();
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded