Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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