Allow rotating levers

This commit is contained in:
tobspr 2020-08-28 21:57:29 +02:00
parent d193d4bd49
commit a095cd6324
10 changed files with 216 additions and 220 deletions

View File

@ -362,7 +362,7 @@
},
"sprites/blueprints/constant_signal.png":
{
"frame": {"x":1937,"y":759,"w":105,"h":127},
"frame": {"x":1938,"y":759,"w":105,"h":127},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":105,"h":127},
@ -402,10 +402,10 @@
},
"sprites/blueprints/lever.png":
{
"frame": {"x":1823,"y":732,"w":110,"h":116},
"frame": {"x":1823,"y":732,"w":111,"h":129},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":17,"y":17,"w":110,"h":116},
"spriteSourceSize": {"x":17,"y":4,"w":111,"h":129},
"sourceSize": {"w":144,"h":144}
},
"sprites/blueprints/logic_gate-not.png":
@ -426,7 +426,7 @@
},
"sprites/blueprints/logic_gate-transistor.png":
{
"frame": {"x":1820,"y":970,"w":101,"h":144},
"frame": {"x":1820,"y":996,"w":101,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":101,"h":144},
@ -522,7 +522,7 @@
},
"sprites/blueprints/rotater.png":
{
"frame": {"x":1899,"y":1156,"w":143,"h":144},
"frame": {"x":1899,"y":1169,"w":143,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":144},
@ -554,7 +554,7 @@
},
"sprites/blueprints/splitter-compact.png":
{
"frame": {"x":1844,"y":1591,"w":139,"h":138},
"frame": {"x":1844,"y":1604,"w":139,"h":138},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":2,"w":139,"h":138},
@ -634,7 +634,7 @@
},
"sprites/blueprints/virtual_processor-rotater.png":
{
"frame": {"x":1925,"y":1008,"w":118,"h":144},
"frame": {"x":1925,"y":1021,"w":118,"h":144},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":14,"y":0,"w":118,"h":144},
@ -682,7 +682,7 @@
},
"sprites/blueprints/wire-turn.png":
{
"frame": {"x":1813,"y":1118,"w":82,"h":82},
"frame": {"x":1813,"y":1144,"w":82,"h":82},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":62,"y":62,"w":82,"h":82},
@ -786,10 +786,10 @@
},
"sprites/buildings/lever.png":
{
"frame": {"x":1823,"y":852,"w":109,"h":114},
"frame": {"x":1823,"y":865,"w":109,"h":127},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":18,"y":18,"w":109,"h":114},
"spriteSourceSize": {"x":18,"y":5,"w":109,"h":127},
"sourceSize": {"w":144,"h":144}
},
"sprites/buildings/logic_gate-not.png":
@ -818,7 +818,7 @@
},
"sprites/buildings/logic_gate-xor.png":
{
"frame": {"x":1897,"y":1304,"w":143,"h":143},
"frame": {"x":1897,"y":1317,"w":143,"h":143},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":143,"h":143},
@ -914,7 +914,7 @@
},
"sprites/buildings/splitter-compact-inverse.png":
{
"frame": {"x":1884,"y":1451,"w":141,"h":136},
"frame": {"x":1884,"y":1464,"w":141,"h":136},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":3,"w":141,"h":136},
@ -1066,7 +1066,7 @@
},
"sprites/buildings/wire-turn.png":
{
"frame": {"x":1812,"y":1204,"w":81,"h":81},
"frame": {"x":1812,"y":1230,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1146,7 +1146,7 @@
},
"sprites/misc/waypoint.png":
{
"frame": {"x":1987,"y":1643,"w":38,"h":48},
"frame": {"x":1987,"y":1656,"w":38,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":38,"h":48},
@ -1218,7 +1218,7 @@
},
"sprites/wires/display/yellow.png":
{
"frame": {"x":1793,"y":1544,"w":47,"h":47},
"frame": {"x":1793,"y":1570,"w":47,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":1,"w":47,"h":47},
@ -1226,10 +1226,10 @@
},
"sprites/wires/lever_on.png":
{
"frame": {"x":1936,"y":890,"w":109,"h":114},
"frame": {"x":1936,"y":890,"w":109,"h":127},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":18,"y":18,"w":109,"h":114},
"spriteSourceSize": {"x":18,"y":5,"w":109,"h":127},
"sourceSize": {"w":144,"h":144}
},
"sprites/wires/logical_acceptor.png":
@ -1250,7 +1250,7 @@
},
"sprites/wires/network_conflict.png":
{
"frame": {"x":1793,"y":1595,"w":47,"h":44},
"frame": {"x":1793,"y":1621,"w":47,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":2,"w":47,"h":44},
@ -1258,7 +1258,7 @@
},
"sprites/wires/network_empty.png":
{
"frame": {"x":1987,"y":1591,"w":41,"h":48},
"frame": {"x":1987,"y":1604,"w":41,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":0,"w":41,"h":48},
@ -1298,7 +1298,7 @@
},
"sprites/wires/sets/color_turn.png":
{
"frame": {"x":1812,"y":1289,"w":81,"h":81},
"frame": {"x":1812,"y":1315,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1330,7 +1330,7 @@
},
"sprites/wires/sets/conflict_turn.png":
{
"frame": {"x":1799,"y":1374,"w":81,"h":81},
"frame": {"x":1799,"y":1400,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1362,7 +1362,7 @@
},
"sprites/wires/sets/regular_turn.png":
{
"frame": {"x":1812,"y":1204,"w":81,"h":81},
"frame": {"x":1812,"y":1230,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1394,7 +1394,7 @@
},
"sprites/wires/sets/shape_turn.png":
{
"frame": {"x":1799,"y":1459,"w":81,"h":81},
"frame": {"x":1799,"y":1485,"w":81,"h":81},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":63,"y":63,"w":81,"h":81},
@ -1415,6 +1415,6 @@
"format": "RGBA8888",
"size": {"w":2048,"h":2048},
"scale": "0.75",
"smartupdate": "$TexturePacker:SmartUpdate:08681e4829dd28022d582f5c5beb81ea:2b9c9868c6813470f9fc9b10b3e460f6:908b89f5ca8ff73e331a35a3b14d0604$"
"smartupdate": "$TexturePacker:SmartUpdate:d6bb69bae482079b7b9180885d6f0a69:b9802306293268b06c81f7fa1ec420be:908b89f5ca8ff73e331a35a3b14d0604$"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -2,7 +2,7 @@
"sprites/belt/built/forward_0.png":
{
"frame": {"x":3,"y":780,"w":40,"h":48},
"frame": {"x":98,"y":963,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -10,7 +10,7 @@
},
"sprites/belt/built/forward_1.png":
{
"frame": {"x":47,"y":780,"w":40,"h":48},
"frame": {"x":399,"y":759,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -18,7 +18,7 @@
},
"sprites/belt/built/forward_2.png":
{
"frame": {"x":179,"y":944,"w":40,"h":48},
"frame": {"x":142,"y":940,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -26,7 +26,7 @@
},
"sprites/belt/built/forward_3.png":
{
"frame": {"x":283,"y":850,"w":40,"h":48},
"frame": {"x":186,"y":962,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -34,7 +34,7 @@
},
"sprites/belt/built/forward_4.png":
{
"frame": {"x":235,"y":881,"w":40,"h":48},
"frame": {"x":230,"y":962,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -42,7 +42,7 @@
},
"sprites/belt/built/forward_5.png":
{
"frame": {"x":327,"y":850,"w":40,"h":48},
"frame": {"x":443,"y":765,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -50,7 +50,7 @@
},
"sprites/belt/built/forward_6.png":
{
"frame": {"x":371,"y":893,"w":40,"h":48},
"frame": {"x":389,"y":811,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -58,7 +58,7 @@
},
"sprites/belt/built/forward_7.png":
{
"frame": {"x":223,"y":945,"w":40,"h":48},
"frame": {"x":338,"y":858,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -66,7 +66,7 @@
},
"sprites/belt/built/forward_8.png":
{
"frame": {"x":267,"y":945,"w":40,"h":48},
"frame": {"x":287,"y":904,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -74,7 +74,7 @@
},
"sprites/belt/built/forward_9.png":
{
"frame": {"x":311,"y":902,"w":40,"h":48},
"frame": {"x":274,"y":956,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -82,7 +82,7 @@
},
"sprites/belt/built/forward_10.png":
{
"frame": {"x":3,"y":946,"w":40,"h":48},
"frame": {"x":345,"y":806,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -90,7 +90,7 @@
},
"sprites/belt/built/forward_11.png":
{
"frame": {"x":47,"y":946,"w":40,"h":48},
"frame": {"x":294,"y":852,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -98,7 +98,7 @@
},
"sprites/belt/built/forward_12.png":
{
"frame": {"x":91,"y":972,"w":40,"h":48},
"frame": {"x":243,"y":890,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -106,7 +106,7 @@
},
"sprites/belt/built/forward_13.png":
{
"frame": {"x":135,"y":972,"w":40,"h":48},
"frame": {"x":195,"y":910,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -114,7 +114,7 @@
},
"sprites/belt/built/left_0.png":
{
"frame": {"x":3,"y":684,"w":44,"h":44},
"frame": {"x":105,"y":730,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -122,7 +122,7 @@
},
"sprites/belt/built/left_1.png":
{
"frame": {"x":51,"y":684,"w":44,"h":44},
"frame": {"x":54,"y":771,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -130,7 +130,7 @@
},
"sprites/belt/built/left_2.png":
{
"frame": {"x":291,"y":754,"w":44,"h":44},
"frame": {"x":102,"y":778,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -138,7 +138,7 @@
},
"sprites/belt/built/left_3.png":
{
"frame": {"x":339,"y":754,"w":44,"h":44},
"frame": {"x":51,"y":819,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -146,7 +146,7 @@
},
"sprites/belt/built/left_4.png":
{
"frame": {"x":387,"y":797,"w":44,"h":44},
"frame": {"x":3,"y":851,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -154,7 +154,7 @@
},
"sprites/belt/built/left_5.png":
{
"frame": {"x":435,"y":798,"w":44,"h":44},
"frame": {"x":255,"y":746,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -162,7 +162,7 @@
},
"sprites/belt/built/left_6.png":
{
"frame": {"x":3,"y":732,"w":44,"h":44},
"frame": {"x":201,"y":766,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -170,7 +170,7 @@
},
"sprites/belt/built/left_7.png":
{
"frame": {"x":51,"y":732,"w":44,"h":44},
"frame": {"x":150,"y":796,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -178,7 +178,7 @@
},
"sprites/belt/built/left_8.png":
{
"frame": {"x":99,"y":732,"w":44,"h":44},
"frame": {"x":99,"y":826,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -186,7 +186,7 @@
},
"sprites/belt/built/left_9.png":
{
"frame": {"x":147,"y":752,"w":44,"h":44},
"frame": {"x":51,"y":867,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -194,7 +194,7 @@
},
"sprites/belt/built/left_10.png":
{
"frame": {"x":99,"y":684,"w":44,"h":44},
"frame": {"x":3,"y":803,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -202,7 +202,7 @@
},
"sprites/belt/built/left_11.png":
{
"frame": {"x":147,"y":704,"w":44,"h":44},
"frame": {"x":207,"y":718,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -210,7 +210,7 @@
},
"sprites/belt/built/left_12.png":
{
"frame": {"x":195,"y":718,"w":44,"h":44},
"frame": {"x":310,"y":708,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -218,7 +218,7 @@
},
"sprites/belt/built/left_13.png":
{
"frame": {"x":243,"y":737,"w":44,"h":44},
"frame": {"x":153,"y":748,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -226,7 +226,7 @@
},
"sprites/belt/built/right_0.png":
{
"frame": {"x":195,"y":766,"w":44,"h":44},
"frame": {"x":3,"y":899,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -234,7 +234,7 @@
},
"sprites/belt/built/right_1.png":
{
"frame": {"x":243,"y":785,"w":44,"h":44},
"frame": {"x":358,"y":710,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -242,7 +242,7 @@
},
"sprites/belt/built/right_2.png":
{
"frame": {"x":91,"y":780,"w":44,"h":44},
"frame": {"x":99,"y":874,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -250,7 +250,7 @@
},
"sprites/belt/built/right_3.png":
{
"frame": {"x":139,"y":800,"w":44,"h":44},
"frame": {"x":51,"y":915,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -258,7 +258,7 @@
},
"sprites/belt/built/right_4.png":
{
"frame": {"x":91,"y":828,"w":44,"h":44},
"frame": {"x":3,"y":947,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -266,7 +266,7 @@
},
"sprites/belt/built/right_5.png":
{
"frame": {"x":187,"y":814,"w":44,"h":44},
"frame": {"x":406,"y":711,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -274,7 +274,7 @@
},
"sprites/belt/built/right_6.png":
{
"frame": {"x":139,"y":848,"w":44,"h":44},
"frame": {"x":351,"y":758,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -282,7 +282,7 @@
},
"sprites/belt/built/right_7.png":
{
"frame": {"x":235,"y":833,"w":44,"h":44},
"frame": {"x":297,"y":804,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -290,7 +290,7 @@
},
"sprites/belt/built/right_8.png":
{
"frame": {"x":187,"y":862,"w":44,"h":44},
"frame": {"x":246,"y":842,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -298,7 +298,7 @@
},
"sprites/belt/built/right_9.png":
{
"frame": {"x":91,"y":876,"w":44,"h":44},
"frame": {"x":195,"y":862,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -306,7 +306,7 @@
},
"sprites/belt/built/right_10.png":
{
"frame": {"x":291,"y":802,"w":44,"h":44},
"frame": {"x":303,"y":756,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -314,7 +314,7 @@
},
"sprites/belt/built/right_11.png":
{
"frame": {"x":339,"y":802,"w":44,"h":44},
"frame": {"x":249,"y":794,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -322,7 +322,7 @@
},
"sprites/belt/built/right_12.png":
{
"frame": {"x":387,"y":845,"w":44,"h":44},
"frame": {"x":198,"y":814,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -330,7 +330,7 @@
},
"sprites/belt/built/right_13.png":
{
"frame": {"x":435,"y":846,"w":44,"h":44},
"frame": {"x":147,"y":844,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -338,7 +338,7 @@
},
"sprites/blueprints/belt_left.png":
{
"frame": {"x":139,"y":896,"w":44,"h":44},
"frame": {"x":147,"y":892,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -346,7 +346,7 @@
},
"sprites/blueprints/belt_right.png":
{
"frame": {"x":91,"y":924,"w":44,"h":44},
"frame": {"x":454,"y":717,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -354,7 +354,7 @@
},
"sprites/blueprints/belt_top.png":
{
"frame": {"x":311,"y":954,"w":40,"h":48},
"frame": {"x":318,"y":956,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -386,7 +386,7 @@
},
"sprites/blueprints/display.png":
{
"frame": {"x":411,"y":747,"w":44,"h":46},
"frame": {"x":211,"y":567,"w":44,"h":46},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":2,"w":44,"h":46},
@ -402,15 +402,15 @@
},
"sprites/blueprints/lever.png":
{
"frame": {"x":470,"y":257,"w":38,"h":40},
"frame": {"x":470,"y":257,"w":38,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":5,"w":38,"h":40},
"spriteSourceSize": {"x":5,"y":1,"w":38,"h":44},
"sourceSize": {"w":48,"h":48}
},
"sprites/blueprints/logic_gate-not.png":
{
"frame": {"x":467,"y":696,"w":42,"h":48},
"frame": {"x":321,"y":509,"w":42,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":42,"h":48},
@ -418,7 +418,7 @@
},
"sprites/blueprints/logic_gate-or.png":
{
"frame": {"x":211,"y":594,"w":48,"h":42},
"frame": {"x":311,"y":662,"w":48,"h":42},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":42},
@ -442,7 +442,7 @@
},
"sprites/blueprints/logic_gate.png":
{
"frame": {"x":419,"y":605,"w":48,"h":45},
"frame": {"x":311,"y":613,"w":48,"h":45},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":45},
@ -450,7 +450,7 @@
},
"sprites/blueprints/miner-chainable.png":
{
"frame": {"x":462,"y":345,"w":47,"h":48},
"frame": {"x":462,"y":353,"w":47,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":48},
@ -458,7 +458,7 @@
},
"sprites/blueprints/miner.png":
{
"frame": {"x":263,"y":643,"w":47,"h":48},
"frame": {"x":55,"y":626,"w":47,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":48},
@ -522,7 +522,7 @@
},
"sprites/blueprints/rotater.png":
{
"frame": {"x":460,"y":397,"w":48,"h":48},
"frame": {"x":460,"y":405,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -546,7 +546,7 @@
},
"sprites/blueprints/splitter-compact-merge.png":
{
"frame": {"x":416,"y":696,"w":47,"h":47},
"frame": {"x":54,"y":678,"w":47,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":47},
@ -554,7 +554,7 @@
},
"sprites/blueprints/splitter-compact.png":
{
"frame": {"x":3,"y":633,"w":47,"h":47},
"frame": {"x":3,"y":710,"w":47,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":47},
@ -594,7 +594,7 @@
},
"sprites/blueprints/underground_belt_entry-tier2.png":
{
"frame": {"x":159,"y":575,"w":48,"h":43},
"frame": {"x":259,"y":649,"w":48,"h":43},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":5,"w":48,"h":43},
@ -602,7 +602,7 @@
},
"sprites/blueprints/underground_belt_entry.png":
{
"frame": {"x":315,"y":618,"w":48,"h":38},
"frame": {"x":363,"y":668,"w":48,"h":38},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":10,"w":48,"h":38},
@ -610,7 +610,7 @@
},
"sprites/blueprints/underground_belt_exit-tier2.png":
{
"frame": {"x":367,"y":618,"w":48,"h":38},
"frame": {"x":3,"y":552,"w":48,"h":38},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":38},
@ -618,7 +618,7 @@
},
"sprites/blueprints/underground_belt_exit.png":
{
"frame": {"x":419,"y":654,"w":48,"h":38},
"frame": {"x":55,"y":552,"w":48,"h":38},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":38},
@ -634,7 +634,7 @@
},
"sprites/blueprints/virtual_processor-rotater.png":
{
"frame": {"x":415,"y":463,"w":41,"h":48},
"frame": {"x":467,"y":613,"w":41,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":41,"h":48},
@ -642,7 +642,7 @@
},
"sprites/blueprints/virtual_processor-shapecompare.png":
{
"frame": {"x":3,"y":552,"w":48,"h":45},
"frame": {"x":363,"y":619,"w":48,"h":45},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":45},
@ -658,7 +658,7 @@
},
"sprites/blueprints/virtual_processor.png":
{
"frame": {"x":460,"y":449,"w":48,"h":48},
"frame": {"x":460,"y":457,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -674,7 +674,7 @@
},
"sprites/blueprints/wire-split.png":
{
"frame": {"x":3,"y":601,"w":48,"h":28},
"frame": {"x":3,"y":594,"w":48,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":48,"h":28},
@ -698,7 +698,7 @@
},
"sprites/blueprints/wire_tunnel-coating.png":
{
"frame": {"x":235,"y":458,"w":13,"h":47},
"frame": {"x":235,"y":462,"w":13,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":17,"y":0,"w":13,"h":47},
@ -706,7 +706,7 @@
},
"sprites/blueprints/wire_tunnel.png":
{
"frame": {"x":263,"y":546,"w":48,"h":47},
"frame": {"x":107,"y":500,"w":48,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":47},
@ -714,7 +714,7 @@
},
"sprites/buildings/belt_left.png":
{
"frame": {"x":3,"y":684,"w":44,"h":44},
"frame": {"x":105,"y":730,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":4,"w":44,"h":44},
@ -722,7 +722,7 @@
},
"sprites/buildings/belt_right.png":
{
"frame": {"x":195,"y":766,"w":44,"h":44},
"frame": {"x":3,"y":899,"w":44,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":4,"w":44,"h":44},
@ -730,7 +730,7 @@
},
"sprites/buildings/belt_top.png":
{
"frame": {"x":3,"y":780,"w":40,"h":48},
"frame": {"x":98,"y":963,"w":40,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":40,"h":48},
@ -738,7 +738,7 @@
},
"sprites/buildings/constant_signal.png":
{
"frame": {"x":235,"y":411,"w":36,"h":43},
"frame": {"x":235,"y":415,"w":36,"h":43},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":6,"y":0,"w":36,"h":43},
@ -762,7 +762,7 @@
},
"sprites/buildings/display.png":
{
"frame": {"x":459,"y":748,"w":44,"h":46},
"frame": {"x":211,"y":617,"w":44,"h":46},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":2,"w":44,"h":46},
@ -786,15 +786,15 @@
},
"sprites/buildings/lever.png":
{
"frame": {"x":470,"y":301,"w":38,"h":40},
"frame": {"x":470,"y":305,"w":38,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":5,"w":38,"h":40},
"spriteSourceSize": {"x":5,"y":1,"w":38,"h":44},
"sourceSize": {"w":48,"h":48}
},
"sprites/buildings/logic_gate-not.png":
{
"frame": {"x":3,"y":894,"w":43,"h":48},
"frame": {"x":51,"y":963,"w":43,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":43,"h":48},
@ -802,7 +802,7 @@
},
"sprites/buildings/logic_gate-or.png":
{
"frame": {"x":263,"y":597,"w":48,"h":42},
"frame": {"x":415,"y":665,"w":48,"h":42},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":42},
@ -826,7 +826,7 @@
},
"sprites/buildings/logic_gate.png":
{
"frame": {"x":55,"y":552,"w":48,"h":45},
"frame": {"x":107,"y":551,"w":48,"h":45},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":45},
@ -834,7 +834,7 @@
},
"sprites/buildings/miner-chainable.png":
{
"frame": {"x":314,"y":660,"w":47,"h":48},
"frame": {"x":3,"y":658,"w":47,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":48},
@ -842,7 +842,7 @@
},
"sprites/buildings/miner.png":
{
"frame": {"x":365,"y":660,"w":47,"h":48},
"frame": {"x":106,"y":632,"w":47,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":48},
@ -890,7 +890,7 @@
},
"sprites/buildings/rotater-ccw.png":
{
"frame": {"x":268,"y":494,"w":48,"h":48},
"frame": {"x":269,"y":494,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -898,7 +898,7 @@
},
"sprites/buildings/rotater-fl.png":
{
"frame": {"x":363,"y":463,"w":48,"h":48},
"frame": {"x":367,"y":463,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -906,7 +906,7 @@
},
"sprites/buildings/rotater.png":
{
"frame": {"x":460,"y":501,"w":48,"h":48},
"frame": {"x":259,"y":546,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -914,7 +914,7 @@
},
"sprites/buildings/splitter-compact-inverse.png":
{
"frame": {"x":315,"y":567,"w":48,"h":47},
"frame": {"x":159,"y":523,"w":48,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":47},
@ -922,7 +922,7 @@
},
"sprites/buildings/splitter-compact-merge-inverse.png":
{
"frame": {"x":367,"y":567,"w":48,"h":47},
"frame": {"x":259,"y":598,"w":48,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":47},
@ -930,7 +930,7 @@
},
"sprites/buildings/splitter-compact-merge.png":
{
"frame": {"x":54,"y":633,"w":47,"h":47},
"frame": {"x":157,"y":655,"w":47,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":47},
@ -938,7 +938,7 @@
},
"sprites/buildings/splitter-compact.png":
{
"frame": {"x":105,"y":633,"w":47,"h":47},
"frame": {"x":208,"y":667,"w":47,"h":47},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":47},
@ -970,7 +970,7 @@
},
"sprites/buildings/trash.png":
{
"frame": {"x":332,"y":515,"w":48,"h":48},
"frame": {"x":419,"y":509,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -978,7 +978,7 @@
},
"sprites/buildings/underground_belt_entry-tier2.png":
{
"frame": {"x":207,"y":672,"w":47,"h":42},
"frame": {"x":105,"y":684,"w":47,"h":42},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":6,"w":47,"h":42},
@ -986,7 +986,7 @@
},
"sprites/buildings/underground_belt_entry.png":
{
"frame": {"x":258,"y":695,"w":47,"h":38},
"frame": {"x":54,"y":729,"w":47,"h":38},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":10,"w":47,"h":38},
@ -994,7 +994,7 @@
},
"sprites/buildings/underground_belt_exit-tier2.png":
{
"frame": {"x":309,"y":712,"w":47,"h":38},
"frame": {"x":3,"y":761,"w":47,"h":38},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":38},
@ -1002,7 +1002,7 @@
},
"sprites/buildings/underground_belt_exit.png":
{
"frame": {"x":360,"y":712,"w":47,"h":38},
"frame": {"x":156,"y":706,"w":47,"h":38},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":0,"w":47,"h":38},
@ -1010,7 +1010,7 @@
},
"sprites/buildings/virtual_processor-analyzer.png":
{
"frame": {"x":384,"y":515,"w":48,"h":48},
"frame": {"x":367,"y":515,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1018,7 +1018,7 @@
},
"sprites/buildings/virtual_processor-rotater.png":
{
"frame": {"x":3,"y":833,"w":41,"h":48},
"frame": {"x":467,"y":665,"w":41,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":4,"y":0,"w":41,"h":48},
@ -1026,7 +1026,7 @@
},
"sprites/buildings/virtual_processor-shapecompare.png":
{
"frame": {"x":107,"y":552,"w":48,"h":45},
"frame": {"x":159,"y":574,"w":48,"h":45},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":45},
@ -1034,7 +1034,7 @@
},
"sprites/buildings/virtual_processor-unstacker.png":
{
"frame": {"x":436,"y":553,"w":48,"h":48},
"frame": {"x":311,"y":561,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1042,7 +1042,7 @@
},
"sprites/buildings/virtual_processor.png":
{
"frame": {"x":3,"y":500,"w":48,"h":48},
"frame": {"x":419,"y":561,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1050,7 +1050,7 @@
},
"sprites/buildings/wire-cross.png":
{
"frame": {"x":55,"y":500,"w":48,"h":48},
"frame": {"x":363,"y":567,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1058,7 +1058,7 @@
},
"sprites/buildings/wire-split.png":
{
"frame": {"x":55,"y":601,"w":48,"h":28},
"frame": {"x":55,"y":594,"w":48,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":48,"h":28},
@ -1074,7 +1074,7 @@
},
"sprites/buildings/wire.png":
{
"frame": {"x":327,"y":457,"w":8,"h":48},
"frame": {"x":235,"y":513,"w":8,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":8,"h":48},
@ -1082,7 +1082,7 @@
},
"sprites/buildings/wire_tunnel-coating.png":
{
"frame": {"x":252,"y":492,"w":12,"h":46},
"frame": {"x":327,"y":457,"w":12,"h":46},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":18,"y":1,"w":12,"h":46},
@ -1090,7 +1090,7 @@
},
"sprites/buildings/wire_tunnel.png":
{
"frame": {"x":156,"y":654,"w":47,"h":46},
"frame": {"x":259,"y":696,"w":47,"h":46},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":1,"y":1,"w":47,"h":46},
@ -1122,7 +1122,7 @@
},
"sprites/misc/slot_bad_arrow.png":
{
"frame": {"x":252,"y":458,"w":13,"h":13},
"frame": {"x":252,"y":462,"w":13,"h":13},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":13,"h":13},
@ -1130,7 +1130,7 @@
},
"sprites/misc/slot_good_arrow.png":
{
"frame": {"x":252,"y":475,"w":13,"h":13},
"frame": {"x":252,"y":479,"w":13,"h":13},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":13,"h":13},
@ -1154,7 +1154,7 @@
},
"sprites/wires/boolean_false.png":
{
"frame": {"x":235,"y":509,"w":12,"h":15},
"frame": {"x":252,"y":496,"w":12,"h":15},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":2,"y":1,"w":12,"h":15},
@ -1226,10 +1226,10 @@
},
"sprites/wires/lever_on.png":
{
"frame": {"x":235,"y":367,"w":38,"h":40},
"frame": {"x":235,"y":367,"w":38,"h":44},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":5,"y":5,"w":38,"h":40},
"spriteSourceSize": {"x":5,"y":1,"w":38,"h":44},
"sourceSize": {"w":48,"h":48}
},
"sprites/wires/logical_acceptor.png":
@ -1274,7 +1274,7 @@
},
"sprites/wires/sets/color_cross.png":
{
"frame": {"x":107,"y":500,"w":48,"h":48},
"frame": {"x":415,"y":613,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1282,7 +1282,7 @@
},
"sprites/wires/sets/color_forward.png":
{
"frame": {"x":339,"y":457,"w":8,"h":48},
"frame": {"x":247,"y":515,"w":8,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":8,"h":48},
@ -1290,7 +1290,7 @@
},
"sprites/wires/sets/color_split.png":
{
"frame": {"x":107,"y":601,"w":48,"h":28},
"frame": {"x":107,"y":600,"w":48,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":48,"h":28},
@ -1306,7 +1306,7 @@
},
"sprites/wires/sets/conflict_cross.png":
{
"frame": {"x":159,"y":523,"w":48,"h":48},
"frame": {"x":3,"y":500,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1314,7 +1314,7 @@
},
"sprites/wires/sets/conflict_forward.png":
{
"frame": {"x":351,"y":457,"w":8,"h":48},
"frame": {"x":343,"y":457,"w":8,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":8,"h":48},
@ -1322,7 +1322,7 @@
},
"sprites/wires/sets/conflict_split.png":
{
"frame": {"x":159,"y":622,"w":48,"h":28},
"frame": {"x":159,"y":623,"w":48,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":48,"h":28},
@ -1338,7 +1338,7 @@
},
"sprites/wires/sets/regular_cross.png":
{
"frame": {"x":55,"y":500,"w":48,"h":48},
"frame": {"x":363,"y":567,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1346,7 +1346,7 @@
},
"sprites/wires/sets/regular_forward.png":
{
"frame": {"x":327,"y":457,"w":8,"h":48},
"frame": {"x":235,"y":513,"w":8,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":8,"h":48},
@ -1354,7 +1354,7 @@
},
"sprites/wires/sets/regular_split.png":
{
"frame": {"x":55,"y":601,"w":48,"h":28},
"frame": {"x":55,"y":594,"w":48,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":48,"h":28},
@ -1370,7 +1370,7 @@
},
"sprites/wires/sets/shape_cross.png":
{
"frame": {"x":211,"y":542,"w":48,"h":48},
"frame": {"x":55,"y":500,"w":48,"h":48},
"rotated": false,
"trimmed": false,
"spriteSourceSize": {"x":0,"y":0,"w":48,"h":48},
@ -1378,7 +1378,7 @@
},
"sprites/wires/sets/shape_forward.png":
{
"frame": {"x":320,"y":509,"w":8,"h":48},
"frame": {"x":355,"y":457,"w":8,"h":48},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":20,"y":0,"w":8,"h":48},
@ -1386,7 +1386,7 @@
},
"sprites/wires/sets/shape_split.png":
{
"frame": {"x":211,"y":640,"w":48,"h":28},
"frame": {"x":3,"y":626,"w":48,"h":28},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":20,"w":48,"h":28},
@ -1415,6 +1415,6 @@
"format": "RGBA8888",
"size": {"w":512,"h":1024},
"scale": "0.25",
"smartupdate": "$TexturePacker:SmartUpdate:08681e4829dd28022d582f5c5beb81ea:2b9c9868c6813470f9fc9b10b3e460f6:908b89f5ca8ff73e331a35a3b14d0604$"
"smartupdate": "$TexturePacker:SmartUpdate:d6bb69bae482079b7b9180885d6f0a69:b9802306293268b06c81f7fa1ec420be:908b89f5ca8ff73e331a35a3b14d0604$"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 KiB

After

Width:  |  Height:  |  Size: 267 KiB

View File

@ -2,7 +2,7 @@
"sprites/belt/built/forward_0.png":
{
"frame": {"x":943,"y":816,"w":78,"h":96},
"frame": {"x":943,"y":842,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -98,7 +98,7 @@
},
"sprites/belt/built/forward_12.png":
{
"frame": {"x":859,"y":1474,"w":78,"h":96},
"frame": {"x":859,"y":1500,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -106,7 +106,7 @@
},
"sprites/belt/built/forward_13.png":
{
"frame": {"x":941,"y":1474,"w":78,"h":96},
"frame": {"x":941,"y":1500,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -138,7 +138,7 @@
},
"sprites/belt/built/left_3.png":
{
"frame": {"x":880,"y":1201,"w":87,"h":87},
"frame": {"x":880,"y":1227,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":9,"w":87,"h":87},
@ -298,7 +298,7 @@
},
"sprites/belt/built/right_9.png":
{
"frame": {"x":872,"y":1383,"w":87,"h":87},
"frame": {"x":872,"y":1409,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -314,7 +314,7 @@
},
"sprites/belt/built/right_11.png":
{
"frame": {"x":880,"y":1292,"w":87,"h":87},
"frame": {"x":880,"y":1318,"w":87,"h":87},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":9,"w":87,"h":87},
@ -402,10 +402,10 @@
},
"sprites/blueprints/lever.png":
{
"frame": {"x":946,"y":734,"w":74,"h":78},
"frame": {"x":946,"y":752,"w":75,"h":86},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":11,"y":11,"w":74,"h":78},
"spriteSourceSize": {"x":11,"y":3,"w":75,"h":86},
"sourceSize": {"w":96,"h":96}
},
"sprites/blueprints/logic_gate-not.png":
@ -450,7 +450,7 @@
},
"sprites/blueprints/miner-chainable.png":
{
"frame": {"x":929,"y":916,"w":92,"h":96},
"frame": {"x":929,"y":942,"w":92,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":3,"y":0,"w":92,"h":96},
@ -658,7 +658,7 @@
},
"sprites/blueprints/virtual_processor.png":
{
"frame": {"x":921,"y":1016,"w":96,"h":94},
"frame": {"x":921,"y":1042,"w":96,"h":94},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":2,"w":96,"h":94},
@ -730,7 +730,7 @@
},
"sprites/buildings/belt_top.png":
{
"frame": {"x":943,"y":816,"w":78,"h":96},
"frame": {"x":943,"y":842,"w":78,"h":96},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":9,"y":0,"w":78,"h":96},
@ -786,10 +786,10 @@
},
"sprites/buildings/lever.png":
{
"frame": {"x":948,"y":574,"w":73,"h":76},
"frame": {"x":948,"y":574,"w":73,"h":85},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":12,"w":73,"h":76},
"spriteSourceSize": {"x":12,"y":3,"w":73,"h":85},
"sourceSize": {"w":96,"h":96}
},
"sprites/buildings/logic_gate-not.png":
@ -802,7 +802,7 @@
},
"sprites/buildings/logic_gate-or.png":
{
"frame": {"x":921,"y":1114,"w":96,"h":83},
"frame": {"x":921,"y":1140,"w":96,"h":83},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":0,"y":0,"w":96,"h":83},
@ -1226,10 +1226,10 @@
},
"sprites/wires/lever_on.png":
{
"frame": {"x":948,"y":654,"w":73,"h":76},
"frame": {"x":948,"y":663,"w":73,"h":85},
"rotated": false,
"trimmed": true,
"spriteSourceSize": {"x":12,"y":12,"w":73,"h":76},
"spriteSourceSize": {"x":12,"y":3,"w":73,"h":85},
"sourceSize": {"w":96,"h":96}
},
"sprites/wires/logical_acceptor.png":
@ -1415,6 +1415,6 @@
"format": "RGBA8888",
"size": {"w":1024,"h":2048},
"scale": "0.5",
"smartupdate": "$TexturePacker:SmartUpdate:08681e4829dd28022d582f5c5beb81ea:2b9c9868c6813470f9fc9b10b3e460f6:908b89f5ca8ff73e331a35a3b14d0604$"
"smartupdate": "$TexturePacker:SmartUpdate:d6bb69bae482079b7b9180885d6f0a69:b9802306293268b06c81f7fa1ec420be:908b89f5ca8ff73e331a35a3b14d0604$"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 635 KiB

After

Width:  |  Height:  |  Size: 638 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -1,61 +1,57 @@
import { enumDirection, Vector } from "../../core/vector";
import { enumPinSlotType, WiredPinsComponent } from "../components/wired_pins";
import { Entity } from "../entity";
import { MetaBuilding } from "../meta_building";
import { GameRoot } from "../root";
import { LeverComponent } from "../components/lever";
export class MetaLeverBuilding extends MetaBuilding {
constructor() {
super("lever");
}
getSilhouetteColor() {
// @todo: Render differently based on if its activated or not
return "#1a678b";
}
/**
* @param {GameRoot} root
*/
getIsUnlocked(root) {
// @todo
return true;
}
getIsRotateable() {
return false;
}
getDimensions() {
return new Vector(1, 1);
}
getSprite() {
return null;
}
getShowWiresLayerPreview() {
return true;
}
/**
* Creates the entity at the given location
* @param {Entity} entity
*/
setupEntityComponents(entity) {
entity.addComponent(
new WiredPinsComponent({
slots: [
{
pos: new Vector(0, 0),
direction: enumDirection.top,
type: enumPinSlotType.logicalEjector,
},
],
})
);
entity.addComponent(new LeverComponent({}));
}
}
import { enumDirection, Vector } from "../../core/vector";
import { enumPinSlotType, WiredPinsComponent } from "../components/wired_pins";
import { Entity } from "../entity";
import { MetaBuilding } from "../meta_building";
import { GameRoot } from "../root";
import { LeverComponent } from "../components/lever";
export class MetaLeverBuilding extends MetaBuilding {
constructor() {
super("lever");
}
getSilhouetteColor() {
// @todo: Render differently based on if its activated or not
return "#1a678b";
}
/**
* @param {GameRoot} root
*/
getIsUnlocked(root) {
// @todo
return true;
}
getDimensions() {
return new Vector(1, 1);
}
getSprite() {
return null;
}
getShowWiresLayerPreview() {
return true;
}
/**
* Creates the entity at the given location
* @param {Entity} entity
*/
setupEntityComponents(entity) {
entity.addComponent(
new WiredPinsComponent({
slots: [
{
pos: new Vector(0, 0),
direction: enumDirection.top,
type: enumPinSlotType.logicalEjector,
},
],
})
);
entity.addComponent(new LeverComponent({}));
}
}