Description
In this course, you wil learn :
- Make stunning custom cards and creatures for your game.
- When you hover over a card or a creature, enlarged previews appear.
- Enable card rotation and create a unique card back.
- Glows around the borders of cards that your players can play and creatures that can attack this turn.
- In trading card games, there are two ways to drag cards: simply dragging them onto the battlefield area to play them, or dragging them onto a specific target to cast spells or attack with creatures.
- When attacking with creatures or casting spells, display a targeting gizmo with an arrow and a target icon.
- Make flexible layouts for your players' hand and table areas. We do not use pre-determined card locations. All of the creatures and cards will always stay in the centre.
- Make a mana pool in the style of Hearthsone using 10 mana crystals. Players begin the game with 0 mana and receive 1 mana crystal at the start of each turn.
- Make framed Hero portraits as well as round Hero Power buttons.
- Make a burning rope that will count down the time until the turn is over.
- Make decks of varying thicknesses. The more cards in your deck, the thicker it appears.
- Separate the visual and logical parts of your game (also known as the server and game client).
- Make a simple system for managing, editing, and creating new cards, creatures, and Hero classes.
- In trading card games, manage turns.
- Establish the most fundamental game mechanics of playing creatures and attacking your opponent's creatures or Hero.
- Customize the effects of your spells and Hero Powers.
- Create various creature effects that can be triggered when the creature enters the battlefield, dies, the turn begins or ends, or even when certain events in the game occur (such as when your Hero takes damage, draws a card, etc...).
- Establish "game over" conditions and display some end-game animations or events.
- Create a simple computer AI to control your opponent's Hero.
Syllabus :
1. Card Collection and Main Menu Layout
- Storing Cards as ScriptableObject Assets
- The CardCollection class
- Making a Menu and Establishing the Scene Layout
2. Pack Opening
- Making the Money and Dust or Spare Parts HUD
- The ShopManager Script
- Making a Layout of the Pack Opening Screen
- Pack Opening Screen Adjustments and Overview of Dragging
- Custom Scripts for Pack Dragging and Pack Opening
- Prefabs of Creature and Spell Cards from Packs
- Connecting Everything in Unity and Testing Pack Opening
- Inspecting the PackOpeningArea Script
3. Browsing the Card Collection
- Collection Window Layout
- Mana Filter
- Crafting Toggle and Keyword Filter
- Character Tabs for Collection Filtering
- Character Tabs Scripts
- CollectionBrowser Script
- Pagination Buttons and Collection Card Prefabs
- Deck Building Screen
- Fixes for Deck Building Screen
- DecksStorage Script
4. Browsing the Card Collection
- Crafting Screen
- Character Selection Screen
- HeroInfoPanel and Transmitting Data to the Next Scene
- Deck Selection Screen
- Scrollable Lists of Decks and Cards in Collection
- Scripts that Control the List of Pre-Made Decks
- Scripts that Control the List of Cards in Deck