Hi guys, I'm working on a game inspired by 'Drop The Cat'. I've already figured out how to restrict movement to a single axis, but now I want to allow the blocks to be dragged freely in both directions (X and Y) simultaneously. Could anyone guide me on how to implement this smooth 2D drag-and-drop? Thanks!
I'm using a 'Free the Key' template for my project. The script has options for both Horizontal and Vertical movement. However, when I enable both at the same time, the block doesn't move correctly (it glitching or locking up). It seems the script was designed to handle only one axis at a time. How can I modify the logic to allow smooth movement in both directions simultaneously? Thanks for your help!
https://editor.construct.net/#open=free-the-key