diff --git a/README.md b/README.md
index 16bd97c2..00e57ecc 100644
--- a/README.md
+++ b/README.md
@@ -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 here.
-You will need a Texture Packer 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!)
diff --git a/gulp/image-resources.js b/gulp/image-resources.js
index e0ad1bff..35365c79 100644
--- a/gulp/image-resources.js
+++ b/gulp/image-resources.js
@@ -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"];
diff --git a/res_raw/atlas.json b/res_raw/atlas.json
index ff604f49..9e548568 100644
--- a/res_raw/atlas.json
+++ b/res_raw/atlas.json
@@ -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"]
}