Dev Log 01 - 23 Feb 2017
This is the first log of the process of making a trading card game (TCG).
What I made so far:
- Templates of Spell Card, Creature Card, Player Portrait, Player Power
- Explain the template:
- A card includes 2 elements which are
- A Canvas shows card information such as title, name, illustration, mana cost, attack value, health value, and description.
- A copy of the canvas is used for showing preview.
- Functions:
- Rotation (BetterCardRotation class): The card can be rotated and shown front/back
- Added Box Collider to detect mouse click (to drag)
- Preview a card (HoverPreview class): zoom out a preview object of a card. The preview object is a child of card object.
- Card manager (OneCardManager class): to read information from card asset (which stores card information) then visualise it.
- Pros: the construction of a card is well designed. When the size of the card is changed, all the elements keep their ratio. Texts are changed dynamically. An illustration of a card is based on the information of the card asset. For example, a card belongs to Mage character will have a different background compared to others belong to the different character.
- Cons: Images used for cards are ugly.
- Rope timer
- Use Slider.
- Slider handle has animation.
- Hand Visual
- is slots position to place a card.
- The distance between two adjacent slots is the same by using SameDistancChildren class.
- Mana Pool
- The value of the mana pool and its visualisation are spawned dynamically.
- Mana crystals are spawned in horizontal with the same distance (Using Horizontal Layout Group component.
- Damage Effect
- Show an illustration of damage effect
- Show value of damage
"How it made"
- N/A
0 comments:
Post a Comment