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

View file

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