Search and Compare course prices, ratings, and reviews. Over +350 Design and Technology courses in one place!

Learn To Code Trading Card Game Battle System With Unity 3D

(12 customer reviews)
Product is rated as #104 in category Development

What you’ll learn

  • Create beautiful custom cards and creatures for your game
  • Show enlarged previews when you are hovering over a card or a creature
  • Enable card rotation and design a custom card back
  • Highlight cards that your players can play and creatures that can attack this turn with glows around their border
  • 2 different ways to drag cards in trading card games: just dragging cards onto the battlefield area to play them, or dragging onto a specific target to cast spell or attack with creatures
  • Show targeting gizmo with an arrow and a target icon when attacking with creatures or casting spells
  • Create adaptive layouts for your player’s hand and table areas. We are not using pre-determined places for cards. All the creatures and cards will always remain centered
  • Make a Hearthsone-styled mana pool with 10 mana crystals. Players start the game with 0 mana and in the start of each turn they will receive 1 mana crystal
  • Create framed Hero portraits and round Hero Power buttons
  • Create a burning rope that will measure time left until the end of the turn
  • Create decks with variable thickness. The more cards your deck contains – the thicker it looks
  • Separate Visual and Logical part of your game (aka server – game client)
  • Create a simple system to manage, edit and create new cards, creatures or Hero classes
  • Manage turns in trading card games
  • Establish the most basic game mechanics of playing creatures and attacking opponent’s creatures or opponent’s Hero
  • Create custom effects for your spells and Hero Powers
  • Create diverse creature effects that might be triggered: when the creature enters the battlefield, when the creature dies, when the turn starts or ends or even when certain events occur in the game (like: when your Hero takes damage, draws a card, etc…)
  • Determine “game over” conditions and show some end game animations or events
  • Create a simple computer AI that will control opponent’s Hero

Show moreShow less

This course provides a full guide on trading card game battle mechanics.

The material in this course is divided into 6 Sections. Section 1 features a short introduction to the course.

In Section 2 we will focus on making cards. We will use Unity UI features to create both faces and card backs of our cards. Spell cards and creature cards will be designed a bit differently. Creature cards will have distinctive oval frames around creature images. You will learn how to rotate cards that are made with Unity UI properly. We will do some scripting to make a simple system that will allow us to create and edit our cards as assets in Unity.

In Section 3 we will continue working on different visual elements: mana pools, rope timer, hero portraits, end turn button and so on. By the end of this Section we will assemble a visual layout of our Battle Scene that our players will see in the final version of the game. We will also explore several scripts that will help us drag cards in the game, organize and display enlarged previews of cards and creatures.

In Section 4 we will prepare our project for bringing in all the scripts that will handle Logic in our game. We`ll start by taking a look at a small slideshow that will explain the relationship between Visual and Logical parts of our game. We`ll add several new Visual features – Damage Effects that will display amounts of damage taken by creatures or heroes in the game, a simple system that will show messages in the start of each turn and targeted dragging for spell cards and creature attacks.

Section 5 is the most complicated Section of this course in terms of scripting. We`ll bring all the remaining scripts, including all the Logic scripts into our project. Our goal for this Section is to establish the most basic game mechanics of drawing cards from deck, playing creatures onto the battlefield and attacking either our opponent`s hero or his creatures. We will also discuss turn management and test our burning rope timer.

In the final section of this course you will learn to create spell and creature effects for your game. Creature effects might be caused when the creature enters the battlefield, when the creature dies, when the turn starts or ends or even when certain events occur in the game (like: when your Hero takes damage, draws a card, etc…). We will also take a look at a simple AI script that will control our opponent`s behavior and let us play this game against the computer.

I have tried to save the project that I was working in as often as I can so that you can easily pick up the material from any point in this course. All these assets that are used to create cards, creatures, hero powers and other game elements are free for commercial use and available for download with this course. You can find detailed info on art and scripting assets and links to some other useful resources in the Credits file that you can download with this course.

Who this course is for:

  • This course is for trading card game enthusiasts and for people who are interested in making card games like Hearthstone and Magic the Gathering. It will help you both build your own trading card game and explore what happens behind the scenes in your favorite trading card games.

12 reviews for Learn To Code Trading Card Game Battle System With Unity 3D

4.4 out of 5
Write a review
Show all Most Helpful Highest Rating Lowest Rating
  1. Genaro Vallejo Reyes

    Really good course overall, one suggestion is making the script explanation and implementation more streamlined. Making entire chapters on explaining the script without implementing it makes a little difficult to follow, specially for people not familiar with coding. Thanks to Vladimir for answering all my questions so far.

    Helpful(0) Unhelpful(0)You have already voted this
  2. Seneca Rugeley

    Learned a lot about how to code a complex game. Very informative and the instructor walks you through almost every line of code so there isn’t much guess work.

    Helpful(0) Unhelpful(0)You have already voted this
  3. Bart Spits

    Almost everything is well explained, good for c# and unity beginners like me. You come across several ways to use c# that are interesting. The final ‘product’ does a lot of things well and you do gain enough understanding to then work on it and make it a bit different and into something you were looking for.
    Overall I’ve learned a lot from it so I would recommend it, for beginners especially.

    Helpful(0) Unhelpful(0)You have already voted this
  4. Daniel O’Donoghue

    Good, what I expected

    Helpful(0) Unhelpful(0)You have already voted this
  5. Jeffrey Lynch

    Great framework to help you get started in creating your own trading card game. Would recommend to anyone looking to make a Trading card game.

    Helpful(0) Unhelpful(0)You have already voted this
  6. Alexander Gertz

    Everything top!

    Helpful(0) Unhelpful(0)You have already voted this
  7. Chad Gloria

    it’s a great course. deal with it

    Helpful(0) Unhelpful(0)You have already voted this
  8. Darren Perrine

    Excellent Course!!!
    Initially, I was a little concerned over some of the steps the instructor took; however, I then realized that this course is actually 5 years old. Some of the steps the instructor took are not necessary today but are easily remedied.
    Even though, the class is a little outdated everything works very well and I learned a great deal. The instructor makes excellent use of the Command Pattern, Observer Pattern and Strategy Pattern. It is true that the code is not type-along, which I do prefer personally; however, I get it with this course. There is so much material that this course would be just too long to type and explain every class. You are getting a volume of methods and well structured code with this course. (Note: In some cases consistency and naming conventions get a little off but that’s typical of any project this large. A little refactoring is necessary). The instructor does an excellent job going over the important classes and minimizes discussion on classes that are very similar in code and function.
    Also, having purchased quite a few classes on Udemy you can gauge a great deal about the class and instructor by immediately going to the Q&A portion of the class and reading the questions being asked and the instructors responses. I am confident in saying that the instructor is by far one of the most responsive I have ever seen. Some of the questions posed by students had nothing to do with the material but were feature requests. The instructor took the time to assist with the code and provide direction on best strategy – just awesome!
    In conclusion, the class is well worth the time, money and effort. And, in the end you get a a nice functional game that can be easily expanded on.

    Helpful(0) Unhelpful(0)You have already voted this
  9. Daniel Devoy

    Good for getting a general idea, but trying to adapt the pre written scripts to your own game will require a lot of work. Gives you tools, but doesn’t fully explain how to use them on your own

    Helpful(0) Unhelpful(0)You have already voted this
  10. Vittorio Chiuselli

    This course is very helpful to enter in the mindset of trading card game. A suggestion for students: before to go ahead to this course, buy a course for beginner, and than follow this one, I did the opposite unfortunally but now I appreciate more rewatching this course

    Helpful(0) Unhelpful(0)You have already voted this
  11. Andrew Corbett

    Good match. Almost exactly what I’m looking for so far in.

    Helpful(0) Unhelpful(0)You have already voted this
  12. PuppedToy

    It gives me a strong base to start my own trading card game, plus it shows me several tricks I can do in Unity to make my life simpler. The code organization seems good enough to scale and it is a well-designed course overall. The course owner also took a lot of time to make it interactive and yet it isn’t too slow.

    Helpful(0) Unhelpful(0)You have already voted this

    Add a review

    Your email address will not be published.

    Learn To Code Trading Card Game Battle System With Unity 3D
    Learn To Code Trading Card Game Battle System With Unity 3D


    Compare items
    • Total (0)
    Shopping cart