Move table to adjacent slot
#4
Upon further thought, diagonal moves could be handled in vertical order (for DOWN), and simply filtered by the halfway mark of the current table. I think that would make sense. So in that image above, if the upper left corner of slot #5 was to the left of the halfway point of slot #1, then moving #1 down would go through #5 and then #3. But if the upper left corner was to the right of the halfway point of #1, then #1 down would only go to #3. And you would have to go down from #2 to get to #5.

And I agree that if a table is already in the closest slot in the direction, the slot should be skipped, and not swapped out. It will probably take a little bit of work, but should be do-able
Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Username::
Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)
Please select the number: 7
1 2 3 4 5 6 7 8 9 10

Messages In This Thread
Move table to adjacent slot - by DS1 - 08-29-2015, 06:05 PM
RE: Move table to adjacent slot - by SaT_Admin - 08-30-2015, 12:07 AM
RE: Move table to adjacent slot - by DS1 - 08-30-2015, 01:08 PM
RE: Move table to adjacent slot - by SaT_Admin - 08-30-2015, 02:27 PM
RE: Move table to adjacent slot - by DS1 - 09-01-2015, 09:07 AM
RE: Move table to adjacent slot - by SaT_Admin - 09-03-2015, 01:13 PM
RE: Move table to adjacent slot - by DS1 - 09-04-2015, 05:17 AM
RE: Move table to adjacent slot - by SaT_Admin - 09-04-2015, 02:13 PM