fix layering of beard over chin

This commit is contained in:
Tyler Renelle 2013-12-20 10:11:45 -07:00
parent edd65568d0
commit ead5fc78f2
2 changed files with 1 additions and 1 deletions

View file

@ -18,7 +18,7 @@ module.exports = function(grunt) {
// `sprite` has `name`, `image` (full path), `x`, `y`
// `width`, `height`, `total_width`, `total_height`
// EXAMPLE: Prefix all sprite names with 'sprite-'
if (sprite.name.match(/hair|skin|beard|mustach|shirt/) || sprite.name=='head_base_0') {
if (sprite.name.match(/hair|skin|beard|mustach|shirt/) || sprite.name=='head_0') {
sprite.name = 'customize-option.' + sprite.name;
sprite.x = sprite.x + 25;
sprite.y = sprite.y + 15;

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB