Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
I'm trying to create a "hand of cards". What I'm trying to do is a group of cards that can be dragged from point A to point B. Everything is working right except that when I start dragging a card, the cards next to it are on top of it. Can someone help?
You need to change the Z-Order when dragging a card and when dropping a card back to the hand:
humm, yes, but I forgot to mention that I can not prevent the card on the side only taking the place of the other when it is discarded, or only after the card draws near the others. As in the attached image. Any idea?
Develop games in your browser. Powerful, performant & highly capable.
I added a global boolean to check if the player is dragging a card and placed the 'is dragging' event above the card sorting:
very good. It works perfectly. Many thanks for the help =)