en:games:star_trek_armada_1:modding:sprites
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:games:star_trek_armada_1:modding:sprites [2024-01-15-22-12] – 7saturn | en:games:star_trek_armada_1:modding:sprites [2025-03-03-20-08] (current) – [Sprite Files] 7saturn | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Sprite Files ===== | ===== Sprite Files ===== | ||
The text files of sprites are located in the folder with the same name in the Armada installation. They end with the extension //.spr//, e.g. // | The text files of sprites are located in the folder with the same name in the Armada installation. They end with the extension //.spr//, e.g. // | ||
- | * // | + | * // |
* // | * // | ||
* // | * // | ||
Line 52: | Line 52: | ||
But this method of addressing sections of the graphic also allows to partition a texture for use in animations. | But this method of addressing sections of the graphic also allows to partition a texture for use in animations. | ||
===== Sprite Animations ===== | ===== Sprite Animations ===== | ||
- | The given section (0/0) to (256/64) of the described animated sprite defines only one frame, while the initial animation | + | The given section (0/0) to (256/64) of the described animated sprite defines only one frame, while the initial animation |
So all frames together are 256 pixels wide and 256 pixels high. Of course the TGA file has to have at least this size. While the example uses a 1 x 4 animation, others are also possible, like a 4 x 4 animation (like the ones used for certain photon torpedoes). For a 256 x 256 TGA file that would give each frame a 64 x 64 size, but 16 of them. They are displayed in the order left to right and then top to bottom (just when reading a book). | So all frames together are 256 pixels wide and 256 pixels high. Of course the TGA file has to have at least this size. While the example uses a 1 x 4 animation, others are also possible, like a 4 x 4 animation (like the ones used for certain photon torpedoes). For a 256 x 256 TGA file that would give each frame a 64 x 64 size, but 16 of them. They are displayed in the order left to right and then top to bottom (just when reading a book). |
en/games/star_trek_armada_1/modding/sprites.1705356749.txt.gz · Last modified: 2024-01-15-22-12 by 7saturn