And Posted September 10, 2016 Share Posted September 10, 2016 In version 2.4.4, when dragging an sprite with the mouse if we moved outside the game area, when the mouse got back in, the sprite continued being dragged. This was not desired in certain situations (people asked here on "how to prevent sticky drags") but continue dragging is desirable in many other situations. However, in versions >2.4.5, the dragging stops when the mouse gets out. In some games, this is very nasty for a player that lose control of the sprite being dragged. You can check this in the example: http://phaser.io/examples/v2/input/drag-event-parameters Note that: Phaser version can be changed below the code and when run icon is pressed you can test it. Line 36 needs to be commented to test with version 2.4.4. Is there any way to set up the old behaviour in the newer versions? Link to comment Share on other sites More sharing options...
Recommended Posts