Skip to content

Commit

Permalink
feat: generate sprites from aseprite files
Browse files Browse the repository at this point in the history
way easier to make sprites now
  • Loading branch information
Aiz0 committed May 4, 2024
1 parent 1a3f641 commit e109bc5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions generate_sprite.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/fish
for file in assets/*.aseprite
set slug (basename $file .aseprite)
aseprite -b $file --save-as assets/1x/$slug.png
aseprite -b $file --scale 2 --save-as assets/2x/$slug.png
end

0 comments on commit e109bc5

Please sign in to comment.