Fixed alpha being altered in atlases
This commit is contained in:
parent
43a3450d74
commit
11c38fb657
1
TODO.md
1
TODO.md
|
@ -103,7 +103,6 @@ Technical
|
||||||
---------
|
---------
|
||||||
|
|
||||||
* Fix "npm test" returning 0 even on failure
|
* Fix "npm test" returning 0 even on failure
|
||||||
* Fix alpha being altered in atlases
|
|
||||||
* Pack sounds
|
* Pack sounds
|
||||||
* Add toggles for shaders, automatically disable them if too slow, and initially disable them on mobile
|
* Add toggles for shaders, automatically disable them if too slow, and initially disable them on mobile
|
||||||
|
|
||||||
|
|
|
@ -54,11 +54,10 @@ function atlas(stage) {
|
||||||
let opts = {
|
let opts = {
|
||||||
name: `out/assets/atlas${stage}`,
|
name: `out/assets/atlas${stage}`,
|
||||||
fullpath: true,
|
fullpath: true,
|
||||||
width: 1024,
|
width: 2048,
|
||||||
height: 1024,
|
height: 2048,
|
||||||
square: true,
|
square: true,
|
||||||
powerOfTwo: true,
|
powerOfTwo: true,
|
||||||
trim: true,
|
|
||||||
padding: 2
|
padding: 2
|
||||||
};
|
};
|
||||||
return new Promise(resolve => gfPacker(files, opts, resolve));
|
return new Promise(resolve => gfPacker(files, opts, resolve));
|
||||||
|
|
Loading…
Reference in a new issue