mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Testing: Damage animations on damaged units
This commit is contained in:
@ -137,3 +137,12 @@ This is used by providing multiple images per unit, each representing a coloured
|
||||
| Archer-2.png | Colour layer | Nation outer colour |
|
||||
|
||||
The [Civ Army Color Style Sheet](https://github.com/AdityaMH/Civ-Army-Color-Style-Sheet/tree/main/Images/TileSets/FantasyHex/Units) mod by @AdityaMH and the [5Hex Tileset](https://github.com/ravignir/5Hex-Tileset/tree/master/Images/TileSets/5Hex/Units) by @ravignir are very good practical examples of how this can be used.
|
||||
|
||||
## Attack animations
|
||||
|
||||
These are small animations that play on units when they receive damage.
|
||||
|
||||
They can be for unit types (Archery, Seige, Cavalry) or for specific unit names
|
||||
|
||||
The files should be in the format of `<unit type/unit name>-attack-<frame number>`.
|
||||
For example, a 3 frame animation for Sword units would have the files `Sword-attack-1.png`, `Sword-attack-3.png`, `Sword-attack-3.png`
|
||||
|
Reference in New Issue
Block a user