1
0
Fork 0

Fixed alpha being altered in atlases

This commit is contained in:
Michaël Lemaire 2018-03-25 22:48:11 +02:00
parent 43a3450d74
commit 11c38fb657
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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));