examples: Add assets and scripts for most remaining examples
BIN
examples/graphics/alpha/assets/bg2.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
examples/graphics/alpha/assets/bg3.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
examples/graphics/alpha/assets/bola.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
20
examples/graphics/alpha/assets/convert.sh
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit bola.png -ftb -fh! -gTFF00FF -gt -gB8 -m!
|
||||
grit personaje.png -ftb -fh! -gTFF00FF -gt -gB8 -m!
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img ../nitrofiles/sprite
|
||||
|
||||
grit nfl.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit bg2.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit bg3.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
BIN
examples/graphics/alpha/assets/nfl.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
examples/graphics/alpha/assets/personaje.png
Normal file
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 65 KiB |
10
examples/graphics/animatedbg/assets/convert.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit nfl.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit water.png -ftb -fh! -gTFF00FF -gt -gB8 -m!
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
BIN
examples/graphics/animatedbg/assets/frames.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
examples/graphics/animatedbg/assets/nfl.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
examples/graphics/animatedbg/assets/water.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
examples/graphics/backbuffer3/assets/bitmap16.png
Normal file
After Width: | Height: | Size: 64 KiB |
11
examples/graphics/backbuffer3/assets/convert.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit bitmap16.png -ftb -fh! -gb -gB16
|
||||
grit img16_a.png -ftb -fh! -gb -gB16
|
||||
grit img16_b.png -ftb -fh! -gb -gB16
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.img ../nitrofiles/bmp
|
BIN
examples/graphics/backbuffer3/assets/img16_a.png
Normal file
After Width: | Height: | Size: 99 KiB |
BIN
examples/graphics/backbuffer3/assets/img16_b.png
Normal file
After Width: | Height: | Size: 145 KiB |
@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit bitmap16.jpg -ftb -fh! -gb -gB16
|
||||
|
||||
for file in *.bin; do
|
||||
|
BIN
examples/graphics/bgmixed/assets/bg0.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
examples/graphics/bgmixed/assets/bola.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
38
examples/graphics/bgmixed/assets/convert.sh
Normal file
@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit bola.png -ftb -fh! -gTFF00FF -gt -gB8 -m!
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img ../nitrofiles/sprite
|
||||
|
||||
grit img8b_1.png -ftb -fh! -gTFF00FF -gb -gB8
|
||||
grit img8b_2.png -ftb -fh! -gTFF00FF -gb -gB8
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img ../nitrofiles/bmp
|
||||
|
||||
grit bg0.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
||||
|
||||
grit font16.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
|
BIN
examples/graphics/bgmixed/assets/font16.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
21
examples/graphics/bgmixed/assets/font16.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit nfl.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
||||
|
||||
grit font16.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
|
BIN
examples/graphics/bgmixed/assets/img8b_1.png
Normal file
After Width: | Height: | Size: 99 KiB |
BIN
examples/graphics/bgmixed/assets/img8b_2.png
Normal file
After Width: | Height: | Size: 145 KiB |
21
examples/graphics/bgpalette/assets/convert.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit layer3.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
|
||||
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
|
BIN
examples/graphics/bgpalette/assets/default.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
examples/graphics/bgpalette/assets/layer3.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
examples/graphics/tilechange/assets/colmap.png
Normal file
After Width: | Height: | Size: 18 KiB |
30
examples/graphics/tilechange/assets/convert.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit puntero.png -ftb -fh! -gTFF00FF -gt -gB8 -m!
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img ../nitrofiles/sprite
|
||||
|
||||
grit colmap.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
grit layer3.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
|
||||
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
|
BIN
examples/graphics/tilechange/assets/default.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
examples/graphics/tilechange/assets/layer3.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
examples/graphics/tilechange/assets/puntero.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 12 KiB |
9
examples/graphics/tileflip/assets/convert.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
grit nfl.png -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
|
||||
|
||||
for file in *.bin; do
|
||||
mv -- "$file" "${file%.bin}"
|
||||
done
|
||||
|
||||
mv *.pal *.img *.map ../nitrofiles/bg
|
BIN
examples/graphics/tileflip/assets/nfl.png
Normal file
After Width: | Height: | Size: 82 KiB |