Hello,
I want to create a card game where cards can be dragged and dropped into the center grid. However, I want them to snap into place.
How do I go about doing this?
Develop games in your browser. Powerful, performant & highly capable.
You can do this using the drag and drop behaviour on the cards and the SnapX and SnapY expressions on a tilemap object for the grid:
dropbox.com/s/iq4wf3vsk2p4fd8/SnapToGrid.c3p