Skip to content

Commit

Permalink
Web build
Browse files Browse the repository at this point in the history
  • Loading branch information
odrick committed Apr 28, 2021
1 parent df08bff commit c972c97
Show file tree
Hide file tree
Showing 3 changed files with 216 additions and 49 deletions.
15 changes: 15 additions & 0 deletions dist/web/static/exporters/Egret2D.mst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"file": "{{config.imageName}}",
"frames": {
{{#rects}}
"{{{name}}}": {
"x": {{frame.x}},
"y": {{frame.y}},
"w": {{frame.w}},
"h": {{frame.h}},
"hw": {{frame.hw}},
"hh": {{frame.hh}}
}{{^last}},{{/last}}
{{/rects}}
}
}
2 changes: 1 addition & 1 deletion dist/web/static/exporters/Phaser3.mst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"textures": [
{
"image": "{{^config.base64Export}}{{config.imageFile}}{{/config.base64Export}}{{#config.base64Export}}{{{config.base64Prefix}}}{{{config.imageData}}}{{/config.base64Export}}",
"image": "{{^config.base64Export}}{{config.imageName}}{{/config.base64Export}}{{#config.base64Export}}{{{config.base64Prefix}}}{{{config.imageData}}}{{/config.base64Export}}",
"format": "{{config.format}}",
"size": {
"w": {{config.imageWidth}},
Expand Down
Loading

0 comments on commit c972c97

Please sign in to comment.