mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
MInor adjustments to atlas padding
This commit is contained in:
parent
a02438a70a
commit
9217ee252d
@ -117,6 +117,6 @@ This is a quick checklist, if a new building is added this points should be fulf
|
|||||||
|
|
||||||
For most assets I use Adobe Photoshop, you can find them <a href="//github.com/tobspr/shapez.io-artwork" target="_blank">here</a>.
|
For most assets I use Adobe Photoshop, you can find them <a href="//github.com/tobspr/shapez.io-artwork" target="_blank">here</a>.
|
||||||
|
|
||||||
You will need a <a href="https://www.codeandweb.com/texturepacker" target="_blank">Texture Packer</a> license in order to regenerate the atlas. If you don't have one but want to contribute assets, let me know and I might compile it for you. I'm currently switching to an open source solution but I can't give an estimate when that's done.
|
All assets will be automatically rebuilt into the atlas once changed (Thanks to dengr1065!)
|
||||||
|
|
||||||
<img src="https://i.imgur.com/W25Fkl0.png" alt="shapez.io Screenshot">
|
<img src="https://i.imgur.com/W25Fkl0.png" alt="shapez.io Screenshot">
|
||||||
|
@ -9,7 +9,7 @@ const execute = command =>
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Globs for atlas resources
|
// Globs for atlas resources
|
||||||
const rawImageResourcesGlobs = ["../res_raw/config.json", "../res_raw/**/*.png"];
|
const rawImageResourcesGlobs = ["../res_raw/atlas.json", "../res_raw/**/*.png"];
|
||||||
|
|
||||||
// Globs for non-ui resources
|
// Globs for non-ui resources
|
||||||
const nonImageResourcesGlobs = ["../res/**/*.woff2", "../res/*.ico", "../res/**/*.webm"];
|
const nonImageResourcesGlobs = ["../res/**/*.woff2", "../res/*.ico", "../res/**/*.webm"];
|
||||||
|
@ -1,16 +1,22 @@
|
|||||||
{
|
{
|
||||||
"pot": false,
|
"pot": true,
|
||||||
"paddingX": 1,
|
"paddingX": 2,
|
||||||
"paddingY": 1,
|
"paddingY": 2,
|
||||||
"edgePadding": false,
|
"edgePadding": true,
|
||||||
"rotation": false,
|
"rotation": false,
|
||||||
"maxWidth": 2048,
|
"maxWidth": 2048,
|
||||||
"maxHeight": 4096,
|
"useIndexes": false,
|
||||||
|
"alphaThreshold": 1,
|
||||||
|
"maxHeight": 2048,
|
||||||
"stripWhitespaceX": true,
|
"stripWhitespaceX": true,
|
||||||
"stripWhitespaceY": true,
|
"stripWhitespaceY": true,
|
||||||
|
"duplicatePadding": true,
|
||||||
"alias": true,
|
"alias": true,
|
||||||
|
"fast": false,
|
||||||
|
"limitMemory": false,
|
||||||
"combineSubdirectories": true,
|
"combineSubdirectories": true,
|
||||||
"flattenPaths": false,
|
"flattenPaths": false,
|
||||||
"scale": [ 0.25, 0.5, 0.75 ],
|
"bleedIterations": 4,
|
||||||
"scaleSuffix": [ "_lq", "_mq", "_hq" ]
|
"scale": [0.25, 0.5, 0.75],
|
||||||
|
"scaleSuffix": ["_lq", "_mq", "_hq"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user