card Drag and Drop System
Project Code: Github (opens in a new window)
This demo shows a simple UI drag and drop system for a card game, similar to Magic or Hearthstone. I coded the whole thing from scratch in about 3 hours.
Click on the draw pile to take a card into your hand.
Dropping a Minion on the "Minion Area" or a Mana card on the "Mana Area" will lock them to that area.
The other cards don't currently do anything, but I aim to implement additional functionality soon.
Edit: 15/08/17 - Added a player hand limit and the draw pile now works. It's also impossible to overfill the "Minion Area" and "Mana Area".