Hello! Here's my small contribution to the community.
It's a card game Template similar to the style of games such as Slay the Spire.
It allows you to draw cards, have them laid out on the bottom of the screen as if holding the cards, and play the selected card.
A few details:
- Game uses 2 arrays: Draw Pile and Hand. Cards are moved from one array to the other. Both UID of the card and a Card ID (that you can use to populate with your own card types) are stored on the arrays.
- The state-machine for the card dragging might need some improvements.
- You can setup certain Global variables in the objects GameManager and HandZone.
Have fun!
Link to Demo and Template:
construct.net/en/free-online-games/basic-card-game-template-79065/play