OverviewFelgo 2 Support (Qt 5) › cameraVPlay questions


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #15643



    I am using cameraVPlay to follow my player on screen.

    When in ‘play’ state, the camera is set to follow my player.  I also want to be able to zoom in and out of the playing area using pinch zoom.  I have noticed that pinch zoom only works when the camera is set to free.  As soon as you set it to follow an entity, it stops you being able to drag the screen around – which I would expect, as it is supposed to be locked to the entity.  However it also prevents pinchzoom from working.  I want to be able to use pinchzoom to zoom in and out, even when the camera is locked to the player.  I have found I am able to create a QML pinchArea and link this to my camera, however this seems to be a waste of efficiency as the camera has this functionality built in.  So I have a few questions:

    1. Is there a way to use the built in pinchzoom functionality of the camera when locked to an entity?
    2. When I am level editing, I have the camera in free state, so I can drag the camera around freely.  I want to be able to act upon a click event in order to turn the camera pan functionality on/off.  Is it possible to directly access the onClicked or onPressed event for the camera?

    Thank you




    Felgo Team

    Hi Darren,

    we can expose some more functionality of the CameraVPlay component, so you will be able to access your mentioned features and ship this with the update next week. Is this sufficient for you?




    Hi Alex,

    That’s absolutely great, thank you!!

    As ever, you give excellent support.



Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support