mirror of
https://github.com/knightfox75/nds_nflib.git
synced 2025-06-18 16:55:32 -04:00
examples: Add assets of the graphics/affine example
This commit is contained in:
parent
c184900ad6
commit
be3050bca8
15
examples/graphics/affine/assets/convert.sh
Normal file
15
examples/graphics/affine/assets/convert.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# The two backgrounds in the same screen share the palette
|
||||
grit navygrid.png waves512.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLa -pS -Onavygrid
|
||||
|
||||
grit flag512.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLa
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
# Both backgrounds need to have a palette, even if it's the same one
|
||||
cp navygrid.pal waves512.pal
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
BIN
examples/graphics/affine/assets/flag512.png
Normal file
BIN
examples/graphics/affine/assets/flag512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
BIN
examples/graphics/affine/assets/navygrid.png
Normal file
BIN
examples/graphics/affine/assets/navygrid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
examples/graphics/affine/assets/waves512.png
Normal file
BIN
examples/graphics/affine/assets/waves512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -14,18 +14,18 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -57,18 +57,18 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -100,18 +100,18 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -143,33 +143,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -186,18 +159,18 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -229,4 +202,31 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user