[r216] BB/DragDrop/Bound to layout bug

0 favourites
  • 2 posts
From the Asset Store
Design for game, asset for game, game kit, UI design, completed design for game FLY BOUND
  • Problem Description

    Not sure if this is related to the BB, Drag/Drop or bound to layout behaviour. But when an object is bound to layout using the behaviour and the object is dragged off screen the position returned from the BB values are incorrect compared to what you would expect.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/109921357/BB%20bug/BB_bug.capx

    Description of Capx

    A sprite and a list, dragging the sprite towards the top of the screen as if you wanted to drag it off screen, will fill the list with values return by the BBtop position.

    Observed Result

    Layout

    Dragging the sprite upwards

    As seen the list is populated with negative values from the BBtop return value, even though the sprite is bound to layout and never leaves it.

    Expected Result

    That the returned BBtop value would return 0 as its bound to layout.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    r216

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Closing as not a bug. Drag-and-drop happens at the beginning of the tick before events run, and bound-to-layout happens at the end of the tick after events run, so you are simply testing the position before the bounding happens.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)