Merge pull request #13 from tobspr/master

Update
pull/307/head
Killgaru 4 years ago committed by GitHub
commit daca78d2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7931a4ba2104bbf7de3a1332617d5a056e34c55bab751821a168a83e0b91793
size 683910
oid sha256:9d8a4254944d83882513a062e77406419d94c3058a7ad657a5a318d45cc5443f
size 902131

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 14 KiB

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:746c6cf3f0284798a78c08f77d7e9d0c28b02323081fda42b5fa876a7ade29a0
size 205925
oid sha256:40d458f800344d819ad4d3f38943f53f399258369ee5c20f6583d1b49847465f
size 188255

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:037d27409bf78b828470e553ee0f29304eda24c46598151bb4b9c69c66a6c6c1
size 146363
oid sha256:27c8d1eaa48beb7187e37244bd6ef7f43429be84ac88fffa96a4d72eb0e6565b
size 158809

@ -23,6 +23,7 @@
"browser-sync": "^2.24.6",
"circular-dependency-plugin": "^5.0.2",
"circular-json": "^0.5.9",
"clipboard-copy": "^3.1.0",
"colors": "^1.3.3",
"core-js": "3",
"crypto": "^1.0.1",

@ -36,7 +36,6 @@ module.exports = ({ watch = false, standalone = false }) => {
lzString.compressToEncodedURIComponent("http://localhost:10005/v1")
),
G_IS_DEV: "true",
G_IS_PROD: "false",
G_IS_RELEASE: "false",
G_IS_MOBILE_APP: "false",
G_IS_BROWSER: "true",

@ -24,7 +24,6 @@ module.exports = ({
assertAlways: "window.assert",
abstract: "window.assert(false, 'abstract method called');",
G_IS_DEV: "false",
G_IS_PROD: "true",
G_IS_RELEASE: environment === "prod" ? "true" : "false",
G_IS_STANDALONE: standalone ? "true" : "false",
G_IS_BROWSER: isBrowser ? "true" : "false",

@ -2923,6 +2923,11 @@ cli-width@^2.0.0:
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=
clipboard-copy@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/clipboard-copy/-/clipboard-copy-3.1.0.tgz#4c59030a43d4988990564a664baeafba99f78ca4"
integrity sha512-Xsu1NddBXB89IUauda5BIq3Zq73UWkjkaQlPQbLNvNsd5WBMnTWPNKYR6HGaySOxGYZ+BKxP2E9X4ElnI3yiPA==
cliui@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

@ -1,25 +1,78 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g transform="translate(-1)">
<path style="fill:#46B29D;" d="M328.61,98.163h0.088c1.971-0.012,3.923,0.379,5.738,1.148l71.683,29.484
c4.07,1.723,7.249,5.049,8.787,9.193c1.537,4.144,1.297,8.739-0.665,12.699l-11.652,24.099
c-5.942,12.252-10.388,25.174-13.242,38.488l-12.624,58.086c-1.107,5.424-5.003,9.857-10.24,11.652l-11.653,3.972
c-5.094,1.809-8.94,6.053-10.241,11.299l-6.885,28.513c-0.25,1.103-0.635,2.17-1.148,3.178l-5.473,11.211
c-2.003,4.139-5.709,7.201-10.152,8.386l-18.715,4.855c-7.018,1.83-11.893,8.196-11.829,15.448v11.211
c-0.023,3.42-1.102,6.75-3.09,9.534l-19.51,26.748c-3.683,5.056-5.967,10.993-6.621,17.214l-6.091,56.585
c-0.638,5.71-3.3,11.002-7.503,14.919c-4.172,3.812-9.621,5.922-15.272,5.914c-10.207-0.042-19.147-6.854-21.896-16.684
L187.45,416.75c-0.269-0.922-0.447-1.868-0.53-2.825l-17.656-163.84c-0.585-5.323-3.801-9.997-8.563-12.447l-21.629-11.211
c-5.391-2.781-9.662-7.331-12.094-12.888l-26.661-61.793c-4.326-9.941-2.235-21.509,5.297-29.308l10.064-10.417
c3.583-3.658,5.192-8.813,4.326-13.859l-4.414-27.63c-2.316-13.91,2.107-28.094,11.918-38.223l18.715-19.244
C154.266,4.72,165.356,0.003,176.945,0h29.662c11.59,0.003,22.679,4.72,30.721,13.065l16.244,16.684L328.61,98.163z"/>
<path style="fill:#BDC3C7;" d="M283.478,97.103h35.31V220.69c0,9.751-7.904,17.655-17.655,17.655l0,0
c-9.751,0-17.655-7.904-17.655-17.655V97.103z"/>
<circle style="fill:#CC4B4C;" cx="301.133" cy="52.966" r="52.966"/>
<path style="fill:#FB7B76;" d="M283.478,61.793c-4.875,0-8.828-3.952-8.828-8.828c0.016-14.619,11.863-26.467,26.483-26.483
c4.875,0,8.828,3.952,8.828,8.828s-3.952,8.828-8.828,8.828c-4.873,0.006-8.821,3.955-8.828,8.828
C292.305,57.841,288.353,61.793,283.478,61.793z"/>
<rect x="1.985" style="fill:#C8414B;" width="508.03" height="512"/>
<rect x="1.985" y="107.79" style="fill:#FFD250;" width="508.03" height="296.42"/>
<path style="fill:#C8414B;" d="M223.347,256.409l8.191-33.404c0.754-3.076-1.829-5.994-5.306-5.994h-5.77
c-3.477,0-6.061,2.918-5.306,5.994L223.347,256.409z"/>
<rect x="213.681" y="238.89" style="fill:#F5F5F5;" width="19.322" height="74.42"/>
<rect x="208.861" y="230.14" style="fill:#FAB446;" width="28.984" height="8.756"/>
<g>
<rect x="189.531" y="256.41" style="fill:#C8414B;" width="48.3" height="8.756"/>
<polygon style="fill:#C8414B;" points="237.839,291.429 208.856,282.674 208.856,273.919 237.839,282.674 "/>
<path style="fill:#C8414B;" d="M78.435,256.409l8.191-33.404c0.754-3.076-1.829-5.994-5.306-5.994h-5.77
c-3.477,0-6.061,2.918-5.306,5.994L78.435,256.409z"/>
</g>
<path style="fill:#F5F5F5;" d="M112.248,230.143c-5.335,0-9.661,3.919-9.661,8.756v56.908c0,10.638,10.955,30.643,48.305,30.643
s48.305-20.006,48.305-30.643v-56.908c0-4.835-4.325-8.756-9.661-8.756H112.248L112.248,230.143z"/>
<g>
<path style="fill:#C8414B;" d="M150.891,273.919h-48.305V239.34c0-5.079,4.118-9.197,9.197-9.197h39.107v43.776H150.891z"/>
<path style="fill:#C8414B;" d="M150.891,273.919h48.305v20.784c0,12.698-10.294,22.992-22.992,22.992h-2.32
c-12.698,0-22.992-10.294-22.992-22.992L150.891,273.919L150.891,273.919z"/>
</g>
<path style="fill:#FAB446;" d="M102.587,273.919h48.305v20.784c0,12.698-10.294,22.992-22.992,22.992h-2.32
c-12.698,0-22.992-10.294-22.992-22.992C102.587,294.703,102.587,273.919,102.587,273.919z"/>
<g>
<path style="fill:#C8414B;" d="M141.231,313.218v-39.299h-9.661v43.334C135.162,316.592,138.41,315.15,141.231,313.218z"/>
<path style="fill:#C8414B;" d="M121.909,317.253v-43.334h-9.661v39.299C115.069,315.15,118.316,316.592,121.909,317.253z"/>
</g>
<rect x="112.241" y="256.41" style="fill:#FFB441;" width="28.984" height="8.756"/>
<g>
<rect x="112.241" y="238.89" style="fill:#FAB446;" width="28.984" height="8.756"/>
<rect x="117.081" y="244.1" style="fill:#FAB446;" width="19.322" height="15.861"/>
</g>
<rect x="68.774" y="238.89" style="fill:#F5F5F5;" width="19.322" height="74.42"/>
<g>
<rect x="63.941" y="308.94" style="fill:#FAB446;" width="28.984" height="8.756"/>
<rect x="63.941" y="230.14" style="fill:#FAB446;" width="28.984" height="8.756"/>
</g>
<rect x="59.111" y="317.7" style="fill:#5064AA;" width="38.643" height="8.756"/>
<rect x="213.681" y="308.94" style="fill:#FAB446;" width="28.984" height="8.756"/>
<rect x="204.031" y="317.7" style="fill:#5064AA;" width="38.643" height="8.756"/>
<rect x="121.911" y="221.39" style="fill:#FAB446;" width="57.967" height="8.756"/>
<rect x="146.061" y="195.13" style="fill:#FFB441;" width="9.661" height="26.27"/>
<g>
<path style="fill:#F5F5F5;" d="M141.231,208.255c-7.991,0-14.491-5.891-14.491-13.132s6.5-13.132,14.491-13.132
s14.491,5.891,14.491,13.132C155.721,202.364,149.221,208.255,141.231,208.255z M141.231,190.745c-2.665,0-4.83,1.963-4.83,4.378
c0,2.415,2.165,4.378,4.83,4.378c2.665,0,4.83-1.963,4.83-4.378C146.061,192.707,143.896,190.745,141.231,190.745z"/>
<path style="fill:#F5F5F5;" d="M160.552,208.255c-7.991,0-14.491-5.891-14.491-13.132s6.5-13.132,14.491-13.132
s14.491,5.891,14.491,13.132C175.042,202.364,168.543,208.255,160.552,208.255z M160.552,190.745c-2.665,0-4.83,1.963-4.83,4.378
c0,2.415,2.165,4.378,4.83,4.378c2.665,0,4.83-1.963,4.83-4.378C165.382,192.707,163.217,190.745,160.552,190.745z"/>
<path style="fill:#F5F5F5;" d="M179.874,217.011c-7.991,0-14.491-5.891-14.491-13.132s6.5-13.132,14.491-13.132
s14.491,5.891,14.491,13.132S187.864,217.011,179.874,217.011z M179.874,199.5c-2.665,0-4.83,1.963-4.83,4.378
c0,2.415,2.165,4.378,4.83,4.378c2.665,0,4.83-1.963,4.83-4.378C184.704,201.462,182.539,199.5,179.874,199.5z"/>
<path style="fill:#F5F5F5;" d="M121.909,217.011c-7.991,0-14.491-5.891-14.491-13.132s6.5-13.132,14.491-13.132
s14.491,5.891,14.491,13.132C136.399,211.12,129.899,217.011,121.909,217.011z M121.909,199.5c-2.665,0-4.83,1.963-4.83,4.378
c0,2.415,2.165,4.378,4.83,4.378s4.83-1.963,4.83-4.378C126.739,201.462,124.574,199.5,121.909,199.5z"/>
</g>
<path style="fill:#FAB446;" d="M179.874,291.429v4.378c0,2.414-2.167,4.378-4.83,4.378s-4.83-1.964-4.83-4.378v-4.378H179.874
M189.534,282.674h-28.983v13.132c0,7.241,6.501,13.132,14.491,13.132c7.991,0,14.491-5.891,14.491-13.132L189.534,282.674
L189.534,282.674z"/>
<path style="fill:#FFA0D2;" d="M175.507,265.163h-0.928c-5.079,0-9.197-4.118-9.197-9.197v-7.872c0-5.079,4.118-9.197,9.197-9.197
h0.928c5.079,0,9.197,4.118,9.197,9.197v7.872C184.704,261.047,180.586,265.163,175.507,265.163z"/>
<ellipse style="fill:#5064AA;" cx="150.891" cy="273.92" rx="14.491" ry="13.13"/>
<rect x="146.061" y="177.61" style="fill:#FAB446;" width="9.661" height="26.27"/>
<path style="fill:#C8414B;" d="M121.909,221.388l-9.661-8.756l5.659-5.129c8.748-7.928,20.613-12.381,32.984-12.381l0,0
c12.371,0,24.237,4.454,32.984,12.381l5.659,5.129l-9.661,8.756H121.909z"/>
<g>
<ellipse style="fill:#FFD250;" cx="150.891" cy="212.63" rx="4.83" ry="4.378"/>
<ellipse style="fill:#FFD250;" cx="131.571" cy="212.63" rx="4.83" ry="4.378"/>
<ellipse style="fill:#FFD250;" cx="170.211" cy="212.63" rx="4.83" ry="4.378"/>
</g>
<g>
<rect x="63.941" y="256.41" style="fill:#C8414B;" width="48.3" height="8.756"/>
<polygon style="fill:#C8414B;" points="63.943,291.429 92.926,282.674 92.926,273.919 63.943,282.674 "/>
</g>
<g>
</g>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 62 KiB

@ -2,7 +2,7 @@
"sprites/belt/forward_0.png":
{
"frame": {"x":1876,"y":1166,"w":100,"h":126},
"frame": {"x":1202,"y":1870,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
@ -10,7 +10,7 @@
},
"sprites/belt/forward_1.png":
{
"frame": {"x":1876,"y":1296,"w":100,"h":126},
"frame": {"x":1871,"y":250,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
@ -18,135 +18,183 @@
},
"sprites/belt/forward_2.png":
{
"frame": {"x":1869,"y":1543,"w":100,"h":126},
"frame": {"x":1631,"y":1865,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_3.png":
"sprites/belt/forward_10.png":
{
"frame": {"x":1857,"y":395,"w":100,"h":126},
"frame": {"x":1450,"y":1487,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_4.png":
"sprites/belt/forward_11.png":
{
"frame": {"x":1865,"y":1690,"w":100,"h":126},
"frame": {"x":1423,"y":1849,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_5.png":
"sprites/belt/forward_12.png":
{
"frame": {"x":920,"y":1370,"w":100,"h":126},
"frame": {"x":1455,"y":1617,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_0.png":
"sprites/belt/forward_13.png":
{
"frame": {"x":1870,"y":1426,"w":113,"h":113},
"frame": {"x":1793,"y":1624,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_1.png":
"sprites/belt/forward_14.png":
{
"frame": {"x":920,"y":1500,"w":113,"h":113},
"frame": {"x":1897,"y":1624,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_2.png":
"sprites/belt/forward_15.png":
{
"frame": {"x":935,"y":1617,"w":113,"h":113},
"frame": {"x":1559,"y":1735,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_16.png":
{
"frame": {"x":1663,"y":1735,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_17.png":
{
"frame": {"x":1767,"y":1754,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_18.png":
{
"frame": {"x":1871,"y":1754,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_19.png":
{
"frame": {"x":1527,"y":1865,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_20.png":
{
"frame": {"x":1735,"y":1884,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_3.png":
"sprites/belt/forward_21.png":
{
"frame": {"x":935,"y":1734,"w":113,"h":113},
"frame": {"x":1839,"y":1884,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_0.png":
{
"frame": {"x":239,"y":1898,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_4.png":
"sprites/belt/left_1.png":
{
"frame": {"x":1052,"y":1721,"w":113,"h":113},
"frame": {"x":1085,"y":1870,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_5.png":
"sprites/belt/left_10.png":
{
"frame": {"x":1169,"y":1721,"w":113,"h":113},
"frame": {"x":1306,"y":1849,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_0.png":
"sprites/belt/left_11.png":
{
"frame": {"x":1286,"y":1721,"w":113,"h":113},
"frame": {"x":1873,"y":133,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_1.png":
"sprites/belt/left_12.png":
{
"frame": {"x":1403,"y":1721,"w":113,"h":113},
"frame": {"x":1582,"y":1501,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_2.png":
"sprites/belt/left_13.png":
{
"frame": {"x":1520,"y":1721,"w":113,"h":113},
"frame": {"x":1699,"y":1501,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_3.png":
"sprites/belt/left_14.png":
{
"frame": {"x":1052,"y":1552,"w":113,"h":113},
"frame": {"x":1816,"y":1507,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_4.png":
"sprites/belt/left_15.png":
{
"frame": {"x":1169,"y":1552,"w":113,"h":113},
"frame": {"x":1559,"y":1618,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_5.png":
"sprites/belt/left_16.png":
{
"frame": {"x":1286,"y":1554,"w":113,"h":113},
"frame": {"x":1676,"y":1618,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/blueprints/belt_left.png":
{
"frame": {"x":1873,"y":122,"w":114,"h":114},
"frame": {"x":3,"y":1898,"w":114,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":12,"w":114,"h":114},
@ -154,15 +202,15 @@
},
"sprites/blueprints/belt_right.png":
{
"frame": {"x":1873,"y":3,"w":114,"h":115},
"frame": {"x":121,"y":1898,"w":114,"h":114},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":11,"w":114,"h":115},
"spriteSourceSize": {"x":12,"y":12,"w":114,"h":114},
"sourceSize": {"w":126,"h":126}
},
"sprites/blueprints/belt_top.png":
{
"frame": {"x":1871,"y":240,"w":102,"h":126},
"frame": {"x":1873,"y":3,"w":102,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":0,"w":102,"h":126},
@ -178,15 +226,23 @@
},
"sprites/blueprints/cutter.png":
{
"frame": {"x":1433,"y":785,"w":341,"h":191},
"frame": {"x":391,"y":1707,"w":341,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":23,"y":0,"w":341,"h":191},
"sourceSize": {"w":384,"h":192}
},
"sprites/blueprints/energy_generator.png":
{
"frame": {"x":735,"y":590,"w":339,"h":373},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":25,"y":11,"w":339,"h":373},
"sourceSize": {"w":384,"h":384}
},
"sprites/blueprints/miner-chainable.png":
{
"frame": {"x":749,"y":1655,"w":182,"h":190},
"frame": {"x":1842,"y":783,"w":182,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":0,"w":182,"h":190},
@ -194,7 +250,7 @@
},
"sprites/blueprints/miner.png":
{
"frame": {"x":1690,"y":1174,"w":182,"h":190},
"frame": {"x":1843,"y":977,"w":182,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":0,"w":182,"h":190},
@ -202,7 +258,7 @@
},
"sprites/blueprints/mixer.png":
{
"frame": {"x":1123,"y":590,"w":347,"h":191},
"frame": {"x":726,"y":1162,"w":347,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":18,"y":0,"w":347,"h":191},
@ -218,7 +274,7 @@
},
"sprites/blueprints/painter-mirrored.png":
{
"frame": {"x":1485,"y":3,"w":384,"h":192},
"frame": {"x":3,"y":1702,"w":384,"h":192},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":384,"h":192},
@ -234,7 +290,7 @@
},
"sprites/blueprints/painter.png":
{
"frame": {"x":1483,"y":199,"w":384,"h":192},
"frame": {"x":1485,"y":3,"w":384,"h":192},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":384,"h":192},
@ -242,7 +298,7 @@
},
"sprites/blueprints/rotater-ccw.png":
{
"frame": {"x":922,"y":1174,"w":189,"h":191},
"frame": {"x":1458,"y":956,"w":189,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":189,"h":191},
@ -250,7 +306,7 @@
},
"sprites/blueprints/rotater.png":
{
"frame": {"x":1115,"y":1173,"w":189,"h":191},
"frame": {"x":1811,"y":588,"w":189,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":0,"w":189,"h":191},
@ -258,7 +314,7 @@
},
"sprites/blueprints/splitter-compact-inverse.png":
{
"frame": {"x":1756,"y":980,"w":188,"h":182},
"frame": {"x":1651,"y":977,"w":188,"h":182},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":188,"h":182},
@ -266,7 +322,7 @@
},
"sprites/blueprints/splitter-compact.png":
{
"frame": {"x":1306,"y":1368,"w":185,"h":182},
"frame": {"x":1649,"y":1163,"w":185,"h":182},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":4,"w":185,"h":182},
@ -274,7 +330,7 @@
},
"sprites/blueprints/splitter.png":
{
"frame": {"x":726,"y":979,"w":340,"h":191},
"frame": {"x":1114,"y":966,"w":340,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":23,"y":0,"w":340,"h":191},
@ -282,7 +338,7 @@
},
"sprites/blueprints/stacker.png":
{
"frame": {"x":1474,"y":590,"w":347,"h":191},
"frame": {"x":724,"y":1357,"w":347,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":18,"y":0,"w":347,"h":191},
@ -298,7 +354,7 @@
},
"sprites/blueprints/trash.png":
{
"frame": {"x":726,"y":1174,"w":192,"h":192},
"frame": {"x":1419,"y":590,"w":192,"h":192},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":192,"h":192},
@ -306,7 +362,7 @@
},
"sprites/blueprints/underground_belt_entry-tier2.png":
{
"frame": {"x":1683,"y":1368,"w":183,"h":166},
"frame": {"x":1419,"y":786,"w":183,"h":166},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":26,"w":183,"h":166},
@ -314,7 +370,7 @@
},
"sprites/blueprints/underground_belt_entry.png":
{
"frame": {"x":192,"y":1702,"w":182,"h":148},
"frame": {"x":1646,"y":1349,"w":182,"h":148},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":44,"w":182,"h":148},
@ -322,7 +378,7 @@
},
"sprites/blueprints/underground_belt_exit-tier2.png":
{
"frame": {"x":3,"y":1702,"w":185,"h":148},
"frame": {"x":1457,"y":1335,"w":185,"h":148},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":185,"h":148},
@ -330,31 +386,15 @@
},
"sprites/blueprints/underground_belt_exit.png":
{
"frame": {"x":1683,"y":1538,"w":182,"h":148},
"frame": {"x":1832,"y":1355,"w":182,"h":148},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":0,"w":182,"h":148},
"sourceSize": {"w":192,"h":192}
},
"sprites/buildings/belt_left.png":
{
"frame": {"x":1870,"y":1426,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/buildings/belt_right.png":
{
"frame": {"x":1286,"y":1721,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/buildings/belt_top.png":
{
"frame": {"x":1876,"y":1166,"w":100,"h":126},
"frame": {"x":1202,"y":1870,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
@ -370,12 +410,20 @@
},
"sprites/buildings/cutter.png":
{
"frame": {"x":1070,"y":979,"w":339,"h":190},
"frame": {"x":736,"y":1552,"w":339,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":24,"y":0,"w":339,"h":190},
"sourceSize": {"w":384,"h":192}
},
"sprites/buildings/energy_generator.png":
{
"frame": {"x":1078,"y":590,"w":337,"h":372},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":26,"y":12,"w":337,"h":372},
"sourceSize": {"w":384,"h":384}
},
"sprites/buildings/hub.png":
{
"frame": {"x":3,"y":3,"w":728,"h":730},
@ -386,7 +434,7 @@
},
"sprites/buildings/miner-chainable.png":
{
"frame": {"x":1825,"y":590,"w":179,"h":188},
"frame": {"x":1258,"y":1355,"w":179,"h":188},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":1,"w":179,"h":188},
@ -394,7 +442,7 @@
},
"sprites/buildings/miner.png":
{
"frame": {"x":1778,"y":785,"w":179,"h":189},
"frame": {"x":1075,"y":1357,"w":179,"h":189},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":0,"w":179,"h":189},
@ -402,7 +450,7 @@
},
"sprites/buildings/mixer.png":
{
"frame": {"x":735,"y":785,"w":345,"h":190},
"frame": {"x":736,"y":1746,"w":345,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":19,"y":0,"w":345,"h":190},
@ -418,7 +466,7 @@
},
"sprites/buildings/painter-mirrored.png":
{
"frame": {"x":735,"y":590,"w":384,"h":191},
"frame": {"x":1483,"y":199,"w":384,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":384,"h":191},
@ -434,7 +482,7 @@
},
"sprites/buildings/painter.png":
{
"frame": {"x":1469,"y":395,"w":384,"h":191},
"frame": {"x":726,"y":967,"w":384,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":384,"h":191},
@ -442,7 +490,7 @@
},
"sprites/buildings/rotater-ccw.png":
{
"frame": {"x":1308,"y":1174,"w":187,"h":190},
"frame": {"x":1832,"y":394,"w":187,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":187,"h":190},
@ -450,7 +498,7 @@
},
"sprites/buildings/rotater.png":
{
"frame": {"x":1499,"y":1174,"w":187,"h":190},
"frame": {"x":1651,"y":783,"w":187,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":187,"h":190},
@ -458,7 +506,7 @@
},
"sprites/buildings/splitter-compact-inverse.png":
{
"frame": {"x":1115,"y":1368,"w":187,"h":180},
"frame": {"x":1458,"y":1151,"w":187,"h":180},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":5,"w":187,"h":180},
@ -466,7 +514,7 @@
},
"sprites/buildings/splitter-compact.png":
{
"frame": {"x":1495,"y":1368,"w":184,"h":180},
"frame": {"x":1838,"y":1171,"w":184,"h":180},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":5,"w":184,"h":180},
@ -474,7 +522,7 @@
},
"sprites/buildings/splitter.png":
{
"frame": {"x":1413,"y":980,"w":339,"h":190},
"frame": {"x":1114,"y":1161,"w":339,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":24,"y":0,"w":339,"h":190},
@ -482,7 +530,7 @@
},
"sprites/buildings/stacker.png":
{
"frame": {"x":1084,"y":785,"w":345,"h":190},
"frame": {"x":1483,"y":394,"w":345,"h":190},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":19,"y":0,"w":345,"h":190},
@ -498,7 +546,7 @@
},
"sprites/buildings/trash.png":
{
"frame": {"x":724,"y":1370,"w":192,"h":191},
"frame": {"x":1615,"y":588,"w":192,"h":191},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":1,"w":192,"h":191},
@ -506,7 +554,7 @@
},
"sprites/buildings/underground_belt_entry-tier2.png":
{
"frame": {"x":1495,"y":1552,"w":181,"h":165},
"frame": {"x":1079,"y":1550,"w":181,"h":165},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":27,"w":181,"h":165},
@ -514,7 +562,7 @@
},
"sprites/buildings/underground_belt_entry.png":
{
"frame": {"x":564,"y":1707,"w":181,"h":147},
"frame": {"x":1085,"y":1719,"w":181,"h":147},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":45,"w":181,"h":147},
@ -522,7 +570,7 @@
},
"sprites/buildings/underground_belt_exit-tier2.png":
{
"frame": {"x":378,"y":1707,"w":182,"h":147},
"frame": {"x":1264,"y":1547,"w":182,"h":147},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":0,"w":182,"h":147},
@ -530,7 +578,7 @@
},
"sprites/buildings/underground_belt_exit.png":
{
"frame": {"x":1680,"y":1690,"w":181,"h":147},
"frame": {"x":1270,"y":1698,"w":181,"h":147},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":0,"w":181,"h":147},
@ -538,7 +586,7 @@
},
"sprites/debug/acceptor_slot.png":
{
"frame": {"x":1961,"y":782,"w":50,"h":64},
"frame": {"x":1975,"y":250,"w":50,"h":64},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":0,"w":50,"h":64},
@ -546,7 +594,7 @@
},
"sprites/debug/ejector_slot.png":
{
"frame": {"x":1961,"y":850,"w":50,"h":64},
"frame": {"x":1975,"y":318,"w":50,"h":64},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":0,"w":50,"h":64},
@ -554,7 +602,7 @@
},
"sprites/map_overview/belt_forward.png":
{
"frame": {"x":1637,"y":1721,"w":24,"h":32},
"frame": {"x":706,"y":1902,"w":24,"h":32},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":24,"h":32},
@ -562,7 +610,7 @@
},
"sprites/map_overview/belt_left.png":
{
"frame": {"x":1893,"y":525,"w":28,"h":28},
"frame": {"x":1077,"y":1162,"w":28,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":28,"h":28},
@ -570,7 +618,7 @@
},
"sprites/map_overview/belt_right.png":
{
"frame": {"x":1080,"y":1669,"w":28,"h":28},
"frame": {"x":1979,"y":3,"w":28,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":28,"h":28},
@ -578,7 +626,7 @@
},
"sprites/misc/deletion_marker.png":
{
"frame": {"x":1403,"y":1554,"w":82,"h":82},
"frame": {"x":620,"y":1902,"w":82,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":7,"w":82,"h":82},
@ -586,7 +634,7 @@
},
"sprites/misc/hub_direction_indicator.png":
{
"frame": {"x":1857,"y":525,"w":32,"h":32},
"frame": {"x":1615,"y":783,"w":32,"h":32},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":32,"h":32},
@ -594,7 +642,7 @@
},
"sprites/misc/lock_direction_indicator.png":
{
"frame": {"x":1961,"y":918,"w":48,"h":30},
"frame": {"x":1306,"y":1966,"w":48,"h":30},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":48,"h":30},
@ -602,7 +650,7 @@
},
"sprites/misc/slot_bad_arrow.png":
{
"frame": {"x":1403,"y":1554,"w":82,"h":82},
"frame": {"x":620,"y":1902,"w":82,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":7,"y":7,"w":82,"h":82},
@ -610,7 +658,7 @@
},
"sprites/misc/slot_good_arrow.png":
{
"frame": {"x":1024,"y":1369,"w":80,"h":96},
"frame": {"x":536,"y":1902,"w":80,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":8,"y":0,"w":80,"h":96},
@ -618,7 +666,7 @@
},
"sprites/misc/storage_overlay.png":
{
"frame": {"x":724,"y":1565,"w":176,"h":86},
"frame": {"x":356,"y":1902,"w":176,"h":86},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":4,"w":176,"h":86},
@ -626,7 +674,7 @@
},
"sprites/misc/waypoint.png":
{
"frame": {"x":1052,"y":1669,"w":24,"h":32},
"frame": {"x":1554,"y":1487,"w":24,"h":32},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":24,"h":32},
@ -637,8 +685,9 @@
"version": "1.0",
"image": "atlas0_100.png",
"format": "RGBA8888",
"size": {"w":2014,"h":1857},
"size": {"w":2028,"h":2015},
"scale": "1",
"smartupdate": "$TexturePacker:SmartUpdate:8985524bba1a3f16cecab3c03b6aaa06:d614d20bfce033d8a8ab0990af085d16:f159918d23e5952766c6d23ab52278c6$"
"related_multi_packs": [ "atlas1_100.json" ],
"smartupdate": "$TexturePacker:SmartUpdate:dc34796c028235bbc69e5b8d854254ca:2765d0b8c8bcbb7a4aaaf1104853ad41:8778749683c68f53155587e6d831729a$"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 776 KiB

After

Width:  |  Height:  |  Size: 828 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 195 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 KiB

After

Width:  |  Height:  |  Size: 459 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 780 KiB

After

Width:  |  Height:  |  Size: 914 KiB

@ -0,0 +1,509 @@
{"frames": {
"sprites/belt/forward_3.png":
{
"frame": {"x":3,"y":783,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_4.png":
{
"frame": {"x":3,"y":913,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_5.png":
{
"frame": {"x":3,"y":1043,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_6.png":
{
"frame": {"x":3,"y":1173,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_7.png":
{
"frame": {"x":3,"y":1303,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_8.png":
{
"frame": {"x":107,"y":3,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_9.png":
{
"frame": {"x":107,"y":133,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_22.png":
{
"frame": {"x":3,"y":3,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_23.png":
{
"frame": {"x":3,"y":133,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_24.png":
{
"frame": {"x":3,"y":263,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_25.png":
{
"frame": {"x":3,"y":393,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_26.png":
{
"frame": {"x":3,"y":523,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/forward_27.png":
{
"frame": {"x":3,"y":653,"w":100,"h":126},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":0,"w":100,"h":126},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_2.png":
{
"frame": {"x":3,"y":1784,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_3.png":
{
"frame": {"x":107,"y":965,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_4.png":
{
"frame": {"x":107,"y":1082,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_5.png":
{
"frame": {"x":107,"y":1199,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_6.png":
{
"frame": {"x":107,"y":1316,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_7.png":
{
"frame": {"x":120,"y":1433,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_8.png":
{
"frame": {"x":120,"y":1550,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_9.png":
{
"frame": {"x":120,"y":1667,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_17.png":
{
"frame": {"x":3,"y":1433,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_18.png":
{
"frame": {"x":3,"y":1550,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_19.png":
{
"frame": {"x":3,"y":1667,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_20.png":
{
"frame": {"x":107,"y":263,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_21.png":
{
"frame": {"x":211,"y":3,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_22.png":
{
"frame": {"x":211,"y":120,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_23.png":
{
"frame": {"x":107,"y":380,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_24.png":
{
"frame": {"x":107,"y":497,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_25.png":
{
"frame": {"x":107,"y":614,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_26.png":
{
"frame": {"x":107,"y":731,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/left_27.png":
{
"frame": {"x":107,"y":848,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_0.png":
{
"frame": {"x":120,"y":1784,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_1.png":
{
"frame": {"x":224,"y":237,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_2.png":
{
"frame": {"x":224,"y":1290,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_3.png":
{
"frame": {"x":341,"y":705,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_4.png":
{
"frame": {"x":341,"y":822,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_5.png":
{
"frame": {"x":341,"y":939,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_6.png":
{
"frame": {"x":341,"y":1056,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_7.png":
{
"frame": {"x":341,"y":1173,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_8.png":
{
"frame": {"x":341,"y":1290,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_9.png":
{
"frame": {"x":354,"y":1407,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_10.png":
{
"frame": {"x":328,"y":3,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_11.png":
{
"frame": {"x":328,"y":120,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_12.png":
{
"frame": {"x":224,"y":354,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_13.png":
{
"frame": {"x":224,"y":471,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_14.png":
{
"frame": {"x":224,"y":588,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_15.png":
{
"frame": {"x":224,"y":705,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_16.png":
{
"frame": {"x":224,"y":822,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_17.png":
{
"frame": {"x":224,"y":939,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_18.png":
{
"frame": {"x":224,"y":1056,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_19.png":
{
"frame": {"x":224,"y":1173,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_20.png":
{
"frame": {"x":237,"y":1407,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_21.png":
{
"frame": {"x":237,"y":1524,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_22.png":
{
"frame": {"x":237,"y":1641,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_23.png":
{
"frame": {"x":237,"y":1758,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_24.png":
{
"frame": {"x":341,"y":237,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_25.png":
{
"frame": {"x":341,"y":354,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_26.png":
{
"frame": {"x":341,"y":471,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/belt/right_27.png":
{
"frame": {"x":341,"y":588,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/buildings/belt_left.png":
{
"frame": {"x":354,"y":1524,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
},
"sprites/buildings/belt_right.png":
{
"frame": {"x":354,"y":1641,"w":113,"h":113},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":13,"y":13,"w":113,"h":113},
"sourceSize": {"w":126,"h":126}
}},
"meta": {
"app": "https://www.codeandweb.com/texturepacker",
"version": "1.0",
"image": "atlas1_100.png",
"format": "RGBA8888",
"size": {"w":470,"h":1900},
"scale": "1",
"related_multi_packs": [ "atlas0_100.json" ],
"smartupdate": "$TexturePacker:SmartUpdate:dc34796c028235bbc69e5b8d854254ca:2765d0b8c8bcbb7a4aaaf1104853ad41:8778749683c68f53155587e6d831729a$"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

@ -269,21 +269,87 @@
<key>scale9FromFile</key>
<false/>
</struct>
<key type="filename">sprites/belt/forward_10.png</key>
<key type="filename">sprites/belt/forward_11.png</key>
<key type="filename">sprites/belt/forward_12.png</key>
<key type="filename">sprites/belt/forward_13.png</key>
<key type="filename">sprites/belt/forward_14.png</key>
<key type="filename">sprites/belt/forward_15.png</key>
<key type="filename">sprites/belt/forward_16.png</key>
<key type="filename">sprites/belt/forward_17.png</key>
<key type="filename">sprites/belt/forward_18.png</key>
<key type="filename">sprites/belt/forward_19.png</key>
<key type="filename">sprites/belt/forward_20.png</key>
<key type="filename">sprites/belt/forward_21.png</key>
<key type="filename">sprites/belt/forward_22.png</key>
<key type="filename">sprites/belt/forward_23.png</key>
<key type="filename">sprites/belt/forward_24.png</key>
<key type="filename">sprites/belt/forward_25.png</key>
<key type="filename">sprites/belt/forward_26.png</key>
<key type="filename">sprites/belt/forward_27.png</key>
<key type="filename">sprites/belt/forward_3.png</key>
<key type="filename">sprites/belt/forward_4.png</key>
<key type="filename">sprites/belt/forward_5.png</key>
<key type="filename">sprites/belt/forward_6.png</key>
<key type="filename">sprites/belt/forward_7.png</key>
<key type="filename">sprites/belt/forward_8.png</key>
<key type="filename">sprites/belt/forward_9.png</key>
<key type="filename">sprites/belt/left_0.png</key>
<key type="filename">sprites/belt/left_1.png</key>
<key type="filename">sprites/belt/left_10.png</key>
<key type="filename">sprites/belt/left_11.png</key>
<key type="filename">sprites/belt/left_12.png</key>
<key type="filename">sprites/belt/left_13.png</key>
<key type="filename">sprites/belt/left_14.png</key>
<key type="filename">sprites/belt/left_15.png</key>
<key type="filename">sprites/belt/left_16.png</key>
<key type="filename">sprites/belt/left_17.png</key>
<key type="filename">sprites/belt/left_18.png</key>
<key type="filename">sprites/belt/left_19.png</key>
<key type="filename">sprites/belt/left_2.png</key>
<key type="filename">sprites/belt/left_20.png</key>
<key type="filename">sprites/belt/left_21.png</key>
<key type="filename">sprites/belt/left_22.png</key>
<key type="filename">sprites/belt/left_23.png</key>
<key type="filename">sprites/belt/left_24.png</key>
<key type="filename">sprites/belt/left_25.png</key>
<key type="filename">sprites/belt/left_26.png</key>
<key type="filename">sprites/belt/left_27.png</key>
<key type="filename">sprites/belt/left_3.png</key>
<key type="filename">sprites/belt/left_4.png</key>
<key type="filename">sprites/belt/left_5.png</key>
<key type="filename">sprites/belt/left_6.png</key>
<key type="filename">sprites/belt/left_7.png</key>
<key type="filename">sprites/belt/left_8.png</key>
<key type="filename">sprites/belt/left_9.png</key>
<key type="filename">sprites/belt/right_0.png</key>
<key type="filename">sprites/belt/right_1.png</key>
<key type="filename">sprites/belt/right_10.png</key>
<key type="filename">sprites/belt/right_11.png</key>
<key type="filename">sprites/belt/right_12.png</key>
<key type="filename">sprites/belt/right_13.png</key>
<key type="filename">sprites/belt/right_14.png</key>
<key type="filename">sprites/belt/right_15.png</key>
<key type="filename">sprites/belt/right_16.png</key>
<key type="filename">sprites/belt/right_17.png</key>
<key type="filename">sprites/belt/right_18.png</key>
<key type="filename">sprites/belt/right_19.png</key>
<key type="filename">sprites/belt/right_2.png</key>
<key type="filename">sprites/belt/right_20.png</key>
<key type="filename">sprites/belt/right_21.png</key>
<key type="filename">sprites/belt/right_22.png</key>
<key type="filename">sprites/belt/right_23.png</key>
<key type="filename">sprites/belt/right_24.png</key>
<key type="filename">sprites/belt/right_25.png</key>
<key type="filename">sprites/belt/right_26.png</key>
<key type="filename">sprites/belt/right_27.png</key>
<key type="filename">sprites/belt/right_3.png</key>
<key type="filename">sprites/belt/right_4.png</key>
<key type="filename">sprites/belt/right_5.png</key>
<key type="filename">sprites/belt/right_6.png</key>
<key type="filename">sprites/belt/right_7.png</key>
<key type="filename">sprites/belt/right_8.png</key>
<key type="filename">sprites/belt/right_9.png</key>
<key type="filename">sprites/blueprints/belt_left.png</key>
<key type="filename">sprites/blueprints/belt_right.png</key>
<key type="filename">sprites/blueprints/belt_top.png</key>
@ -343,6 +409,25 @@
<key>scale9FromFile</key>
<false/>
</struct>
<key type="filename">sprites/blueprints/energy_generator.png</key>
<key type="filename">sprites/blueprints/painter-double.png</key>
<key type="filename">sprites/blueprints/trash-storage.png</key>
<key type="filename">sprites/buildings/energy_generator.png</key>
<key type="filename">sprites/buildings/painter-double.png</key>
<struct type="IndividualSpriteSettings">
<key>pivotPoint</key>
<point_f>0.5,0.5</point_f>
<key>spriteScale</key>
<double>1</double>
<key>scale9Enabled</key>
<false/>
<key>scale9Borders</key>
<rect>96,96,192,192</rect>
<key>scale9Paddings</key>
<rect>96,96,192,192</rect>
<key>scale9FromFile</key>
<false/>
</struct>
<key type="filename">sprites/blueprints/miner-chainable.png</key>
<key type="filename">sprites/blueprints/miner.png</key>
<key type="filename">sprites/blueprints/rotater-ccw.png</key>
@ -376,23 +461,6 @@
<key>scale9FromFile</key>
<false/>
</struct>
<key type="filename">sprites/blueprints/painter-double.png</key>
<key type="filename">sprites/blueprints/trash-storage.png</key>
<key type="filename">sprites/buildings/painter-double.png</key>
<struct type="IndividualSpriteSettings">
<key>pivotPoint</key>
<point_f>0.5,0.5</point_f>
<key>spriteScale</key>
<double>1</double>
<key>scale9Enabled</key>
<false/>
<key>scale9Borders</key>
<rect>96,96,192,192</rect>
<key>scale9Paddings</key>
<rect>96,96,192,192</rect>
<key>scale9FromFile</key>
<false/>
</struct>
<key type="filename">sprites/buildings/cutter.png</key>
<key type="filename">sprites/buildings/mixer.png</key>
<key type="filename">sprites/buildings/painter.png</key>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 761 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 795 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

@ -0,0 +1,173 @@
/**
*
* Run `yarn global add canvas` first
*/
const { createCanvas, loadImage } = require("canvas");
const fs = require("fs");
const path = require("path");
const { fileURLToPath } = require("url");
async function run() {
console.log("Running");
const fps = 28;
const dimensions = 126;
const beltBorder = 15.5;
const borderColor = "#91949e";
const fillColor = "#d2d4d9";
const arrowColor = "#c0c2c7";
// Generate arrow sprite
const arrowW = 40;
const arrowH = 20;
/** @type {HTMLCanvasElement} */
const arrowSprite = createCanvas(arrowW, arrowH);
const arrowContext = arrowSprite.getContext("2d");
arrowContext.quality = "best";
arrowContext.fillStyle = arrowColor;
arrowContext.clearRect(0, 0, arrowW, arrowH);
arrowContext.beginPath();
arrowContext.moveTo(0, arrowH);
arrowContext.lineTo(arrowW / 2, 0);
arrowContext.lineTo(arrowW, arrowH);
arrowContext.closePath();
arrowContext.fill();
// First, generate the forward belt
for (let i = 0; i < fps; ++i) {
/** @type {HTMLCanvasElement} */
const canvas = createCanvas(dimensions, dimensions);
const context = canvas.getContext("2d");
context.quality = "best";
const procentual = i / fps;
context.clearRect(0, 0, dimensions, dimensions);
context.fillStyle = fillColor;
context.strokeStyle = borderColor;
context.lineWidth = 3;
context.beginPath();
context.rect(beltBorder, -10, dimensions - 2 * beltBorder, dimensions + 20);
context.fill();
context.stroke();
const spacingBetweenArrows = (dimensions - 3 * arrowH) / 3;
const spacingTotal = spacingBetweenArrows + arrowH;
for (let k = 0; k < 5; ++k) {
let y = dimensions - arrowH - (k - 1) * spacingTotal - procentual * spacingTotal;
context.drawImage(arrowSprite, dimensions / 2 - arrowW / 2, y);
}
const out = fs.createWriteStream(path.join(__dirname, "forward_" + i + ".png"));
const stream = canvas.createPNGStream();
stream.pipe(out);
}
// Generate left and right side belt
for (let i = 0; i < fps; ++i) {
/** @type {HTMLCanvasElement} */
const canvas = createCanvas(dimensions, dimensions);
const context = canvas.getContext("2d");
context.quality = "best";
const procentual = i / fps;
const innerRadius = beltBorder;
context.clearRect(0, 0, dimensions, dimensions);
context.fillStyle = fillColor;
context.strokeStyle = borderColor;
context.lineWidth = 3;
context.beginPath();
context.moveTo(beltBorder, dimensions + 10);
context.lineTo(beltBorder, dimensions - innerRadius);
const steps = 256;
const outerRadius = dimensions - 2 * beltBorder;
const originX = dimensions - innerRadius;
const originY = dimensions - innerRadius;
const sqrt = x => Math.pow(Math.abs(x), 0.975) * Math.sign(x);
for (let k = 0; k <= steps; ++k) {
const pct = k / steps;
const angleRad = Math.PI + pct * Math.PI * 0.5;
const offX = originX + sqrt(Math.cos(angleRad)) * outerRadius;
const offY = originY + sqrt(Math.sin(angleRad)) * outerRadius;
context.lineTo(offX, offY);
}
context.lineTo(dimensions + 10, beltBorder);
context.lineTo(dimensions + 10, dimensions - beltBorder);
context.lineTo(dimensions, dimensions - beltBorder);
for (let k = 0; k <= steps; ++k) {
const pct = 1 - k / steps;
const angleRad = Math.PI + pct * Math.PI * 0.5;
const offX = dimensions + Math.cos(angleRad) * innerRadius;
const offY = dimensions + Math.sin(angleRad) * innerRadius;
context.lineTo(offX, offY);
}
context.lineTo(dimensions - beltBorder, dimensions + 10);
context.closePath();
context.fill();
context.stroke();
// Arrows
const rotationalRadius = dimensions / 2 - arrowH / 2 + 0.5;
const circumfence = (rotationalRadius * Math.PI * 2) / 4;
console.log("Circumfence:", circumfence, "px");
const remainingSpace = circumfence - 3 * arrowH + arrowH;
console.log("Remainig:", remainingSpace);
const spacing = remainingSpace / 3 + arrowH;
console.log("Spacing: ", spacing);
const angleSpacing = ((spacing / circumfence) * Math.PI) / 2;
for (let i = 0; i < 5; ++i) {
let angleRad = Math.PI + procentual * angleSpacing + (i - 1) * angleSpacing;
const offX = dimensions - arrowH / 2 + Math.cos(angleRad * 0.995) * rotationalRadius;
const offY = dimensions - arrowH / 2 + Math.sin(angleRad * 0.995) * rotationalRadius;
angleRad = Math.max(Math.PI, Math.min(1.5 * Math.PI, angleRad));
context.save();
context.translate(offX, offY);
context.rotate(angleRad + Math.PI);
context.drawImage(arrowSprite, -arrowW / 2, -arrowH / 2);
context.restore();
}
/** @type {HTMLCanvasElement} */
const flippedCanvas = createCanvas(dimensions, dimensions);
const flippedContext = flippedCanvas.getContext("2d");
flippedContext.quality = "best";
flippedContext.clearRect(0, 0, dimensions, dimensions);
flippedContext.scale(-1, 1);
flippedContext.drawImage(canvas, -dimensions, 0, dimensions, dimensions);
const out = fs.createWriteStream(path.join(__dirname, "right_" + i + ".png"));
const stream = canvas.createPNGStream();
stream.pipe(out);
const outLeft = fs.createWriteStream(path.join(__dirname, "left_" + i + ".png"));
const streamLeft = flippedCanvas.createPNGStream();
streamLeft.pipe(outLeft);
}
}
run();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

@ -0,0 +1,12 @@
{
"name": "belt",
"version": "1.0.0",
"main": "index.js",
"private": "true",
"devDependencies": {
"canvas": "^2.6.1"
},
"scripts": {
"generate": "node generate_belt_sprites.js"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save