Drag and Drop and Swap Location

Nabbo (ReflectiveByte)Nabbo (ReflectiveByte) Member Posts: 278
edited March 2016 in Working with GS (Mac)

Hello All, I am working on an RPG and I am stuck at one thing... hope someone can help..
I am making an inventory like scene in RPG.. Here are the steps that I follow where I am stuck:
1. Touch to start dragging an item (Done I know this step)
2. When item is overlapping another item and is released I want both Items to swap places (Oh this is making me crazy I tried so many options but it goes bad)
3. When item does not overlap anything and touch is released it goes back to its location (Done I know this step)

Hope you got the idea..

Comments

Sign In or Register to comment.