Question by
DeadManJoe33 · Jan 30, 2016 at 02:57 PM ·
mousedragdiagonalswappinggetmousebutton
Issue with dragging 2D objects diagonally
So in my code I have made it so that my match 3 game allows horizontal and vertical swapping, any other type doesn't allow and gives an error noise. However if the player attempts to drag diagonally (except to the adjacent corners) they can still swap tiles. Not quite sure how to resolve this, any help would be appreciated.link text
tilescript.pdf
(29.7 kB)
Comment