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

Squaby Demo

 import QtQuick 2.0

 Row {
   id: modifyEntityRow

   // also a RotateButton could be added here, or a scale button - but since this is not allowed for squaby yet, don't add it

   // this is only used for the turbine
   DestroyEntityButton {
     onClicked: {
       console.debug("destroyEntityButton clicked, remove entity");
       entityManager.removeEntityById(selectedEntity.entityId);
       // switch the state afterwards, otherwise selectedEntity would not be known!
       hud.state = "levelEditing";
     }

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded