[r216] BB/DragDrop/Bound to layout bug

0 favourites
  • 2 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • 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


    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


    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


  • 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)