Sorry, your browser is not supported
To have the best experience using Skillshare, we recommend that you use one of these supported browsers.

Learn How to Make Trading Card Game Menus With Unity 3D

Vladimir Limarchenko, Game Developer, Unity3d and C#

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
37 Videos (7h 30m)
    • 101 – Introduction to the Course

      4:27
    • 201 – Introduction to Section 2

      3:42
    • 202 – Storing Cards as ScriptableObject Assets Part 1

      7:35
    • 203 – Storing Cards as ScriptableObject Assets Part 2

      14:52
    • 204 – The CardCollection class Part 1

      16:55
    • 205 – The CardCollection class Part 2

      9:20
    • 206 – Making a Menu and Establishing the Scene Layout

      21:38
    • 301 – Introduction to Section 3

      3:16
    • 302 – Making the Money and Dust or Spare Parts HUD

      11:09
    • 303 – The ShopManager Script

      17:18
    • 304 – Making a Layout of the Pack Opening Screen

      14:44
    • 305 – Pack Opening Screen Adjustments and Overview of Dragging

      12:10
    • 306 – Custom Scripts for Pack Dragging and Pack Opening

      13:37
    • 307 – Prefabs of Creature and Spell Cards from Packs

      10:53
    • 308 – Connecting Everything in Unity and Testing Pack Opening

      15:54
    • 309 – Inspecting the PackOpeningArea Script

      15:36
    • 401 – Introduction to Section 4

      9:56
    • 402 – Collection Window Layout

      11:10
    • 403 – Mana Filter

      9:28
    • 404 – Crafting Toggle and Keyword Filter

      10:05
    • 405 – Character Tabs for Collection Filtering

      10:13
    • 406 – Character Tabs Scripts

      11:08
    • 407 – CollectionBrowser Script Part 1

      9:57
    • 408 – CollectionBrowser Script Part 2

      14:25
    • 409 – Pagination Buttons and Collection Card Prefabs

      9:47
    • 410 – Deck Building Screen

      12:54
    • 411 – Fixes for Deck Building Screen

      10:34
    • 412 – DecksStorage Script

      13:35
    • 501 – Introduction to Section 5

      5:46
    • 502 – Crafting Screen

      18:50
    • 503 – Character Selection Screen

      11:58
    • 504 – HeroInfoPanel and Transmitting Data to the Next Scene

      14:27
    • 505 – Deck Selection Screen

      16:47
    • 506 – Scrollable Lists of Decks and Cards in Collection

      13:38
    • 507 – Scripts that Control the List of Pre Made Decks

      13:16
    • 508 – Scripts that Control the List of Cards in Deck

      21:20
    • 509 – Conclusions

      7:13

About This Class

This course provides a full guide on trading card game menus. In the video Lectures we cover only the process of making menus, collection browsing, deck building, pack opening, etc… But the battle mechanics part is also included into the Unity project that is provided with the course. So, you`ll have an opportunity to play the game with the cards that you create yourself or even use this application as a foundation for your own trading card game.

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

Since the Unity project that we are developing in this course can be treated as an extension of the course that we have made earlier about card game battle mechanics, in Section 2 we will make a recap of the techniques that we use in both courses to store cards in the project. You will learn about ScriptableObjects and ScriptableObject assets and how you can use them to store cards in your project. We`ll take a look at a very useful script CardCollection.cs that will be used in the project to filter the cards in our collection and get certain sub-sets of cards that satisfy certain criteria. In the last Lecture of Section 2 we`ll do some UI work in Unity and assemble the general layout of our menu scene.

Section 3 will be entirely dedicated to buying and opening booster packs with cards. It makes sense to make the card pack opening part early in the course because it`s both the most exciting part of the project and at the same time the most isolated from other code. We`ll create a separate screen for the shop / pack opening area and explore all the scripts that make it possible to buy and open card packs. We`ll cover advanced topics like: drag and drop code for the unopened packs, using DOTween to automate movement of unopened packs and cards that we get from packs, displaying hover over effects, generating cards of certain rarity based on customizable probability coefficients. By the end of this Section we`ll have a fully functioning pack opening screen for this project.

In Section 4 we will start making the collection screen – the most complicated screen in the menus for any trading card game. Our goal for this Section is to be able to launch the game and see the cards laid out in a grid on the collection screen, be able to use pagination buttons and switch pages in the collection, be able to use all the custom filters (mana, keyword, belonging to one of the character classes) to filter the card collection and display certain sub-sets of our collection.

In the final section of this course we will continue exploring our collection screen and cover more advanced objects that are featured on the screen: crafting screen that allows us to craft new cards for one of the in-game currencies, scrollable lists with deck icons and card icons that will be displayed on the side of our deck building screen. We will discuss the topic of transferring data between the scenes and being able to use the deck that your players have pre-configured in the battle scene. In the final lecture of the course I`ll demonstrate how you can set up a game against a simple AI opponent. We saved the project a couple of times while we were making the course and you`ll have these saved projects available for download. I would recommend to download the final project first, check out how it works and start your exploration of this app from the final version. All the art assets that are used to create cards, creatures, hero powers and other game elements are free for commercial use. 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 (included in the root of the Assets folder in any of the saved projects).

Additional information:

  • The files showed in the course are downloadable from the links that you can find in the "Class Project".

12

Students

--

Projects

Vladimir Limarchenko

Game Developer, Unity3d and C#

I am a Unity3d and C# developer with about 2,5 years of experience in game development. I also have a scientific background. I got a Ph.D. in Theoretical Mechanics in 2014, but then decided to pursue my childhood dream of becoming a game developer. I'm mostly interested in making 2D games. In my opinion, a perfect game should have some tactical or puzzle element to it.

Over the last couple of years I've also worked as an instructor and created several courses on game development. Some...

See full profile