Skip to content

Instantly share code, notes, and snippets.

@blopa
Created December 28, 2019 19:34
Show Gist options
  • Save blopa/8591cd9789d4f3a4da54874dc0676f07 to your computer and use it in GitHub Desktop.
Save blopa/8591cd9789d4f3a4da54874dc0676f07 to your computer and use it in GitHub Desktop.
Phaser 3 ShoeBox .sbx configuration
::ShoeBox:shoebox.plugin.spriteSheet::PluginCreateSpriteSheet:{
"fileFormatLoop":"\\t{\\n\\t\\t\"filename\":\"@id\", \\n\\t\\t\"frame\": {\"x\":@x, \"y\":@y, \"w\":@w, \"h\":@h},\\n\\t\\t\"anchor\": {\"x\":0,\"y\":1}\\n\\t}@,\\n",
"texCropAlpha":true,
"fileFormatOuter":"{\\n\"frames\": [\\n@loop\\n],\\n\"meta\": {\\n\\t\"size\": {\"w\": @W, \"h\": @H},\\n\\t\"scale\": \"1\"\\n}\\n}",
"useCssOverHack":false,
"fileName":"sprites.js",
"texPadding":1,
"texExtrudeSize":0,
"scale":1,
"renderDebugLayer":false,
"animationNameIds":"@name_###.png",
"animationMaxFrames":100,
"texMaxSize":2048,
"fileGenerate2xSize":false,
"texPowerOfTwo":false,
"animationFrameIdStart":0,
"texSquare":false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment