examples: Add assets of graphics/bgextpalette example

This commit is contained in:
Antonio Niño Díaz 2023-05-14 02:35:55 +01:00
parent be3050bca8
commit 3d2b4ebabb
11 changed files with 24 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1,24 @@
#!/bin/sh
grit blue.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
# Only generate palette for the other two
grit red.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs -m! -g!
grit green.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs -m! -g!
for file in *.bin; do
mv -- "$file" "${file%.bin}"
done
mv *.pal *.img *.map ../nitrofiles/bg
grit default.png -ftb -fh! -gTFF00FF -gt -gB8 -m!
for file in *.bin; do
mv -- "$file" "${file%.bin}"
done
for file in *.img; do
mv -- "$file" "${file%.img}".fnt
done
mv *.pal *.fnt ../nitrofiles/fnt

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB