You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the configuration to output a power of 2 width/height texture atlas? Here is my config:
{
src: './src/images/**/*.{png,jpg}',
style: './sprite.scss',
dimension: [{
ratio: 2, dpi: 72
}],
orientation: "binary-tree",
split: true,
// ... other optional options
// for example if you want to generate scss instead of css
processor: 'sass', // make sure you have installed sprity-sass
}
But, for instance, one the image output is 600*454.
Does Sprity could handle square atlas or power of 2 dimension ?
The text was updated successfully, but these errors were encountered:
What is the configuration to output a power of 2 width/height texture atlas? Here is my config:
But, for instance, one the image output is 600*454.
Does Sprity could handle square atlas or power of 2 dimension ?
The text was updated successfully, but these errors were encountered: