Adjust gruntfile regex and recompile
|
|
@ -31,7 +31,7 @@ module.exports = function(grunt) {
|
|||
// For hair, skins, beards, etc. we want to output a '.customize-options.WHATEVER' class, which works as a
|
||||
// 60x60 image pointing at the proper part of the 90x90 sprite.
|
||||
// We set up the custom info here, and the template makes use of it.
|
||||
if (sprite.name.match(/hair|skin|beard|mustach|shirt|flower|\bheadAccessory_special_\w+Ears\b/) || sprite.name=='head_0') {
|
||||
if (sprite.name.match(/hair|skin|beard|mustach|shirt|flower|^headAccessory_special_\w+Ears/) || sprite.name=='head_0') {
|
||||
sprite.custom = {
|
||||
px: {
|
||||
offset_x: "-" + (sprite.x + 25) + "px",
|
||||
|
|
|
|||
BIN
common/dist/sprites/spritesmith0.png
vendored
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 284 KiB |
BIN
common/dist/sprites/spritesmith1.png
vendored
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
BIN
common/dist/sprites/spritesmith2.png
vendored
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 149 KiB |
BIN
common/dist/sprites/spritesmith3.png
vendored
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 149 KiB |
BIN
common/dist/sprites/spritesmith4.png
vendored
|
Before Width: | Height: | Size: 557 KiB After Width: | Height: | Size: 557 KiB |
BIN
common/dist/sprites/spritesmith5.png
vendored
|
Before Width: | Height: | Size: 346 KiB After Width: | Height: | Size: 346 KiB |
BIN
common/dist/sprites/spritesmith6.png
vendored
|
Before Width: | Height: | Size: 290 KiB After Width: | Height: | Size: 290 KiB |