Publisher | FletchersLibraries |
---|---|
File size | 97.47kB |
Number of files | 19 |
Latest version | 1 |
Latest release date | 2021-03-29 07:39:12 |
First release date | 2021-03-29 07:39:12 |
Supported Unity versions | 2018.4.2 or higher |
This asset provides a component script with a button that will combine specified SpriteRenderer sprites in the scene into one big texture.
This process can save hundreds of batches, especially for 2D sprite-based games that use Unity Lighting and frequently display many static environmental assets. The example shown in the video cuts the number of batches from 477 to 200. It has been very helpful for saving CPU usage when porting to the Nintendo Switch, or targeting lower-end computers, even in pixel art games.
See SimpleSpriteCombine.cs in the package contents after importing for directions on how to use.
Note that for SpriteRenderers that use different materials or tint colors, separate combined sprites will need to be generated.
This package is dependent on the NaughtyAttributes Unity Asset, so you will need to import that asset into your project before Simple Sprite Combine will compile.
For those curious, the artwork used in the example screenshots and icons for this asset are from the game Batbarian: Testament of the Primordials, used with permission from Unspeakable Pixels.
This asset uses Generic RPG Pack for sprites in its demo scene, under the CC0 1.0 Universal (CC0 1.0) license; see "Third Party Notices.md" file in package for details.
This process can save hundreds of batches, especially for 2D sprite-based games that use Unity Lighting and frequently display many static environmental assets. The example shown in the video cuts the number of batches from 477 to 200. It has been very helpful for saving CPU usage when porting to the Nintendo Switch, or targeting lower-end computers, even in pixel art games.
See SimpleSpriteCombine.cs in the package contents after importing for directions on how to use.
Note that for SpriteRenderers that use different materials or tint colors, separate combined sprites will need to be generated.
This package is dependent on the NaughtyAttributes Unity Asset, so you will need to import that asset into your project before Simple Sprite Combine will compile.
For those curious, the artwork used in the example screenshots and icons for this asset are from the game Batbarian: Testament of the Primordials, used with permission from Unspeakable Pixels.
This asset uses Generic RPG Pack for sprites in its demo scene, under the CC0 1.0 Universal (CC0 1.0) license; see "Third Party Notices.md" file in package for details.