DeckStacker v1.0
A card manager plugin for Unity games.
 
Loading...
Searching...
No Matches
Introduction To DeckStacker

What is DeckStacker?

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:

  1. Cards are individual packets of information.
  2. Cards are organized into a variety of stacks on a table.
  3. In card games, everything happens in a queue of events, one at a time.

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.


How far does DeckStacker go? What is its scope?

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.



Prerequisites

Unity version and packages

  • Unity 2020.3.23 (Built-In Render Pipeline)
  • Unity UI 1.0
  • TextMeshPro 1.0.54

(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.)



Installation Guide

  1. Download DeckStacker from ilikepopsoda.itch.io
  2. Unzip the ZIP and import the package into your Unity project.
  3. Be sure to install TextMeshPro Essentials

.....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



MIT Software License

DeckStacker is released with the MIT Software License.

Please make some cool sh...stuff with it.


Credits

Deckstacker is created by Gerald Kelley (geraldp.net)

Documentation created with Doxygen.