42_so_long/dev/import_assets_text_65px.sh
mcolonna 30a935cf70 feat: game over and win screens *
feat:
- win screen
- "press enter to retry" in both screens
- reset moves only when winning the game

change:
- game over screen display
- display top-left move a little differently

dev:
- scripts to import different text sizes
2024-04-19 13:20:10 +02:00

10 lines
255 B
Bash
Executable file

#!/bin/sh
for PNG in $(find . -type f -name "*.png")
do
# resize
convert "$PNG" -resize x65 "$PNG"
# extract color and alpha
convert "$PNG" -negate -alpha opaque "${PNG%.png}.xpm"
convert "$PNG" -alpha extract "${PNG%.png}.alpha.xpm"
rm "$PNG"
done