Skip to content

Commit

Permalink
Fixes stupid color mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Nhawdge committed Nov 4, 2023
1 parent dccb8e0 commit d67deae
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ArtExport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputFolder="Assets/Aseprite"
for file in "$inputFolder"/*.ase; do
filename=$(basename "$file")
filenameAlone="${filename%.*}"
arguments="-b Assets/Aseprite/$filenameAlone.ase --data Assets/Art/$filenameAlone.json --sheet Assets/Art/$filenameAlone.png --sheet-pack --format json-array --filename-format {tag}-{frame} --list-tags --extrude"
arguments="-b Assets/Aseprite/$filenameAlone.ase --data Assets/Art/$filenameAlone.json --sheet Assets/Art/$filenameAlone.png --sheet-pack --format json-array --filename-format {tag}-{frame} --list-tags --extrude --color-mode rgb"
eval "$asepritePath $arguments"
done

Expand Down
8 changes: 4 additions & 4 deletions Assets/Art/mainFlag.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
{
"filename": "GreenFlag-3",
"frame": { "x": 25, "y": 1, "w": 6, "h": 22 },
"frame": { "x": 1, "y": 25, "w": 6, "h": 22 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 6, "h": 22 },
Expand All @@ -37,7 +37,7 @@
},
{
"filename": "BlueFlag-4",
"frame": { "x": 33, "y": 1, "w": 6, "h": 22 },
"frame": { "x": 9, "y": 25, "w": 6, "h": 22 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 6, "h": 22 },
Expand All @@ -46,7 +46,7 @@
},
{
"filename": "YellowFlag-5",
"frame": { "x": 41, "y": 1, "w": 6, "h": 22 },
"frame": { "x": 17, "y": 25, "w": 6, "h": 22 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 6, "h": 22 },
Expand All @@ -59,7 +59,7 @@
"version": "1.3-rc6-x64",
"image": "mainFlag.png",
"format": "RGBA8888",
"size": { "w": 48, "h": 24 },
"size": { "w": 24, "h": 48 },
"scale": "1",
"frameTags": [
{ "name": "WhiteFlag", "from": 0, "to": 0, "direction": "forward", "color": "#000000ff" },
Expand Down
Binary file modified Assets/Art/mainFlag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Assets/Art/nest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"app": "https://www.aseprite.org/",
"version": "1.3-rc6-x64",
"image": "nest.png",
"format": "I8",
"format": "RGBA8888",
"size": { "w": 22, "h": 20 },
"scale": "1",
"frameTags": [
Expand Down
Binary file modified Assets/Art/nest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Assets/Art/pole.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"app": "https://www.aseprite.org/",
"version": "1.3-rc6-x64",
"image": "pole.png",
"format": "I8",
"format": "RGBA8888",
"size": { "w": 14, "h": 13 },
"scale": "1",
"frameTags": [
Expand Down
Binary file modified Assets/Art/pole.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d67deae

Please sign in to comment.