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 guys!
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?
drive.google.com/open
You need to change the Z-Order when dragging a card and when dropping a card back to the hand:
Develop games in your browser. Powerful, performant & highly capable.
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?
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 =)