Forums

OverviewV-Play 1 Support › EntityBaseDraggable moves when clicked

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5330

    Martin

    Another question regarding the level editor and EntityBaseDraggable: we would like to tap (=click) on entities to select them so their properties are shown in the ItemEditor. This unfortunately does not seem to work out of the box, see this question. The problem with tapping an EntityBaseDraggable is that it immediately translates its position so that its center lies at the tap point. Is there a way to prevent it from doing this? If not, could you introduce a property so this can be disabled or delayed?

    Cheers, Martin

    #5345

    Alex
    V-Play Team

    Hi Martin,

    we added a EntityBaseDraggable::delayDragOffset property with a boolean value (false by default). If this is set to true, the dragOffset will only be applied after an actual drag has started, meaning the mouse is pressed and moved several pixel in any direction. This will be available with our next daily build.

    Cheers,
    Alex

    #5347

    Martin

    Hey Alex, exactly what we need. Looking forward to testing it!

    Cheers, Martin

    #5371

    Martin

    Could you provide a rough estimate on when to expect the next daily?

    Cheers, Martin

    #5372

    Alex
    V-Play Team

    It is planned for next week.

    Cheers,
    Alex

Viewing 5 posts - 1 through 5 (of 5 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
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support