Make a Tarot Card Game in Unity (Free Tutorial)
Tags: tutorial, unity3d, gamedev, discuss
Published: 2022-08-10 03:35:15

Whether you’re simulating a tarot card reading or deploying a mobile card game on iOS, Android and web, [echo3D](http://www.echo3d.co\) makes it easy to do this by simply updating in the echo3D cloud. 
Objects are called at runtime so you can focus on other things…like honoring the reading of the tarot cards and improving your life.

![](https://miro.medium.com/max/1200/1*tAaHuyvq1Cahv1XIpG0QhA.gif)

***

Click this link [**https://go.echo3d.co/QEV1**](https://go.echo3d.co/QEV1) or scan this QR code to see The Fool in AR.

![](https://miro.medium.com/max/1400/1*smjo2Z0p8Pi1KyhxEW8Dww.png)

***

Register
========

Don’t have an echo3D account? Register for FREE at [echo3D](https://console.echo3d.co/#/auth/register).

Version
=======

[Unity 2020.3.25f1](https://unity3d.com/get-unity/download/archive)

Setup
=====

*   Clone this [repo](https://github.com/echo3Dco/Unity-echo3D-Demo-TarotCardGame/), see the full README
*   [Import the Unity SDK](https://docs.echo3D.co/unity/installation)
*   [Add the assets](https://docs.echo3D.co/quickstart/add-a-3d-model) to the echo3D console from the Unity ‘Models’ folder
*   Uncheck the [Security](https://docs.echo3d.co/web-console/deliver-pages/security-page) box in your console
*   In Unity, open the _SampleScene_ scene
*   Drag the _echo3D_ script to all objects under “Card” (0TheFool — 4Emperor)
*   Add the API key and entry ID for each object in the Inspector

![](https://miro.medium.com/max/1400/1*0Z_JDVXFCJNPaE9CkL18BA.png)![](https://miro.medium.com/max/1040/1*-T_RzpcgJp9aAFEyxPYf-Q.png)

*   In the Hierarchy, make sure to the boxes are unchecked for the Sprite Renderer for each object
*   Adjust the [metadata](https://docs.echo3d.co/unity/transforming-content) in the echo3D console so it matches the spawn points in the Hierarchy

Run
===

*   Press _Play_ in Unity. Click “Draw” 3 times to distribute the cards. Click on each card to move it to the Discard pile. Cards will automatically disappear. Do that until there are 0 cards left in the Deck.

Switch Out Assets
=================

*   Find new asset in the echo3D console (You can upload your own or choose from our library)

![](https://miro.medium.com/max/1200/1*Ej527j0FyKH-Niin_tC4Ig.gif)

*   Get the API key and entries ID

![](https://miro.medium.com/max/1400/1*0Z_JDVXFCJNPaE9CkL18BA.png)

*   Swap them out on the echo3D script in the Unity Hierarchy and see your assets change when you run in Play mode

![](https://miro.medium.com/max/664/1*LIJnwnUcRyRt4Eskmb6QyQ.png)

Learn More
==========

Refer to our [documentation](https://docs.echo3D.co/unity/) to learn more about how to use Unity and echo3D.

Support
=======

Feel free to reach out at [support@echo3D.co](mailto:support@echo3D.co)or join our [support channel on Slack](https://go.echo3D.co/join).

Sources
=======

*   Deck assets: [Bennion Kenny](https://www.bennionkearny.com/wp-content/uploads/2019/11/Tarot-Card-Deck.pdf)

More Tutorials
==============

For more easy tutorials, check these out:

*   [Build a 3D Balloon Pop game in Unity](https://medium.com/echo3d/build-a-balloon-pop-game-unity-free-eed9fe7d8be9)
*   [Get a Quarantine Dog in AR](https://medium.com/echo3d/get-a-quarantine-dog-in-ar-8383ea55376b)
*   [How to Create 3D Content and See It In AR](https://medium.com/echo3d/how-to-create-3d-content-and-see-it-in-ar-free-no-coding-required-369e5b4a4b3e)

***

>_**echo3D** ([www.echo3D.co](http://www.echo3d.co/); Techstars 19’) is a cloud platform for 3D/AR/VR that provides tools and network infrastructure to help developers & companies quickly build and deploy 3D apps, games, and content._

![](https://miro.medium.com/max/1400/1*cNrRDT0JEpkcy-zG6KBNgw.png)