Upgrade scene
On the upgrade scene, the user can upgrade the characters and tower settings.
Character state:
- Gold amount;
- “Characters” inset;
- “Tower” inset. If the user taps it, a popup switches to the tower’s state;
- Character's buttons. Allow switching between different characters;
- “Upgrade” button and the price of the upgrade in gold;
- Character’s icon;
- Character’s info;
- “Close scene” button.
Upgrading Characters mechanics:
The user can use gold for improving the following troops’ characteristics:
- health;
- damage;
- the energy that is used for spawning another character.
Every character has to have its own upgrade config.
Upgrading characters settings:
Health, damage, energy cost, and price of an upgrade. Characters can’t be upgraded infinitely, so there has to be a max upgrade level.
Tower state:
- Gold amount
- “Character” inset. If the user taps on the inset, popup switches to the character’s state;
- “Tower” inset;
- Tower’s icon;
- ----
- The current level of gold upgrade;
- The current level of energy upgrade;
- Tower strength upgrade level, its means tower’s health;
- “Upgrade gold level” button with the price of upgrading in gold, button in the active state;
- “Upgrade energy level” button with a price of upgrading;
- “Close scene” button.
For being upgraded, the tower characteristics must have a config of upgrade with price, current upgrade level, and characteristics value on the level.
Reset popup:
- Open upgrade scene button
- Restart battle scene button
Next Level popup:
- Open upgrade scene button
- Open battle scene with upgraded opponent’s characteristics