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 alpha being altered in atlases
|
||||
* Pack sounds
|
||||
* 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 = {
|
||||
name: `out/assets/atlas${stage}`,
|
||||
fullpath: true,
|
||||
width: 1024,
|
||||
height: 1024,
|
||||
width: 2048,
|
||||
height: 2048,
|
||||
square: true,
|
||||
powerOfTwo: true,
|
||||
trim: true,
|
||||
padding: 2
|
||||
};
|
||||
return new Promise(resolve => gfPacker(files, opts, resolve));
|
||||
|
|
Loading…
Reference in New Issue