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>.
|
||||
|
||||
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">
|
||||
|
@ -9,7 +9,7 @@ const execute = command =>
|
||||
});
|
||||
|
||||
// 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
|
||||
const nonImageResourcesGlobs = ["../res/**/*.woff2", "../res/*.ico", "../res/**/*.webm"];
|
||||
|
@ -1,16 +1,22 @@
|
||||
{
|
||||
"pot": false,
|
||||
"paddingX": 1,
|
||||
"paddingY": 1,
|
||||
"edgePadding": false,
|
||||
"pot": true,
|
||||
"paddingX": 2,
|
||||
"paddingY": 2,
|
||||
"edgePadding": true,
|
||||
"rotation": false,
|
||||
"maxWidth": 2048,
|
||||
"maxHeight": 4096,
|
||||
"useIndexes": false,
|
||||
"alphaThreshold": 1,
|
||||
"maxHeight": 2048,
|
||||
"stripWhitespaceX": true,
|
||||
"stripWhitespaceY": true,
|
||||
"duplicatePadding": true,
|
||||
"alias": true,
|
||||
"fast": false,
|
||||
"limitMemory": false,
|
||||
"combineSubdirectories": true,
|
||||
"flattenPaths": false,
|
||||
"scale": [ 0.25, 0.5, 0.75 ],
|
||||
"scaleSuffix": [ "_lq", "_mq", "_hq" ]
|
||||
"bleedIterations": 4,
|
||||
"scale": [0.25, 0.5, 0.75],
|
||||
"scaleSuffix": ["_lq", "_mq", "_hq"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user