User Tools

Site Tools


battle-screen

This is an old revision of the document!


Battle Screen

Deck Icon

This is the icon that represents the player’s deck. It contains a number that represents how many cards are in the deck.

Parameters:

Deck Image - An image file to represent the deck. It can be a card back, or something more abstract.

Deck X coordinate

Deck Y coordinate

These represent the coordinates on the screen the deck image will appear.

Deck card scale

Deck card rotation

These are a bit more complex. If the Deck Image is smaller than the card images, and appears to be at an angle, as in the above screenshot, then when cards are drawn they should be scaled down and angled as they appear below the Deck Image, then scale up and re-orient themselves as they move into the hand.

The effect is that cards appear the same size as the Deck Image, then grow into their full size. It feels more like cards are being drawn from the deck that way.

Deck Card Scale is a number between 0 and 1 if the card should be smaller than its normal size, and between 1 and 4 if it should be bigger.

Deck Card Rotation is measured in degrees between -360 and 360.

Deck Amount Number Font Size - The font size for the number representing how many cards are in the deck.

Deck Number X Coord

Deck Number Y Coord

The coordinates for the Deck Amount Number. This number is right-aligned, so 0, 0 represents the top right of the Deck Image.

battle-screen.1672729462.txt.gz · Last modified: 2023/01/03 08:04 by banerjeesw