DeckStacker is a head-start on making card games in Unity. I wanted to make a generic card system that can be used for a variety of card games, so I boiled card games down to the following:
Generally speaking, this abstraction works in explaining a lot of card games out there.
With this abstraction in mind, I made a prefab and code setup in Unity’s UGUI system that works for a very large variety of card games.
It’s important to note that DeckStacker facilitates card game development, but it is not a card game out of the box. It simply helps you with managing card placement, organization, and movement across the table.
Don’t expect this to do all the work for you, but with this system you should be able to get a big head-start.
For more info: Check out the DeckStacker Concepts page.
Unity version and packages
(Note: The above are the latest versions developed with and tested, but previous versions of Unity, etc, may be compatible. I originally was developing DeckStacker with Unity 2018. Still, if you install this on a previous version of Unity, just be aware that code updates may need to take place in order to retro-fit it to your version.)
.....That's pretty much it. From there, you can start developing DeckStacker card games.
To get you started, a template scene has been provided that has some of the basic UGUI and DeckStacker setup provided.
DeckStacker/DSCore/Scenes/TemplateScene.unity
DeckStacker is released with the MIT Software License.
Please make some cool sh...stuff with it.
Deckstacker is created by Gerald Kelley (geraldp.net)
Documentation created with Doxygen.