example: add example materials

current
Síle Ekaterin Liszka 2023-11-27 22:41:15 -08:00
parent 1f3d6d1f5d
commit 10ac5c088f
4 changed files with 117 additions and 0 deletions

18
example/example.toml Normal file
View File

@ -0,0 +1,18 @@
name="Example"
[font]
"Melissa 8"="melissa8.toml"
[[script]]
name="example"
filename="example.txt"
font="Melissa 8"
min_tiles_per_line=0
max_tiles_per_line=0
tilemap_format="thingy"
leading_zeroes=false
tile_offset=0
raw_filename="example_raw.png"
dedupe_filename="example_ded.png"
tilemap_filename="example.tbl"
little_endian=false

6
example/example.txt Normal file
View File

@ -0,0 +1,6 @@
Potion
Hi Potion
Phoenix Tail
X-Potion
Huh?!
Oh my god, are you serious?!

BIN
example/melissa8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

93
example/melissa8.toml Normal file
View File

@ -0,0 +1,93 @@
name="Melissa 8"
filename="melissa8.png"
bits_per_pixel=2
width=8
height=8
palette=[
'008080',
'282828',
'f8f8f8',
'a8a8a8'
]
[map]
"a"=[1, 5]
"b"=[2, 5]
"c"=[3, 5]
"d"=[4, 5]
"e"=[5, 5]
"f"=[6, 5]
"g"=[7, 5]
"h"=[8, 5]
"i"=[9, 4]
"j"=[10, 3]
"k"=[11, 5]
"l"=[12, 4]
"m"=[13, 8]
"n"=[14, 5]
"o"=[15, 5]
"p"=[16, 5]
"q"=[17, 5]
"r"=[18, 5]
"s"=[19, 5]
"t"=[20, 5]
"u"=[21, 5]
"v"=[22, 6]
"w"=[23, 7]
"x"=[24, 6]
"y"=[25, 6]
"z"=[26, 5]
"A"=[33, 6]
"B"=[34, 6]
"C"=[35, 6]
"D"=[36, 6]
"E"=[37, 5]
"F"=[38, 5]
"G"=[39, 6]
"H"=[40, 6]
"I"=[41, 4]
"J"=[42, 4]
"K"=[43, 6]
"L"=[44, 6]
"M"=[45, 6]
"N"=[46, 6]
"O"=[47, 6]
"P"=[48, 6]
"Q"=[49, 6]
"R"=[50, 6]
"S"=[51, 5]
"T"=[52, 6]
"U"=[53, 6]
"V"=[54, 6]
"W"=[55, 7]
"X"=[56, 6]
"Y"=[57, 6]
"Z"=[58, 6]
"0"=[81, 5]
"1"=[82, 4]
"2"=[83, 5]
"3"=[84, 5]
"4"=[85, 5]
"5"=[86, 5]
"6"=[87, 5]
"7"=[88, 5]
"8"=[89, 5]
"9"=[90, 5]
":"=[97, 2]
","=[98, 3]
";"=[99, 3]
"-"=[100, 5]
"/"=[101, 4]
"("=[102, 4]
")"=[103, 4]
"."=[104, 2]
"'"=[105, 3]
'"'=[106, 5]
"%"=[107, 4]
"!"=[108, 3]
"?"=[109, 6]
"~"=[110, 7]
"*"=[111, 4]
"+"=[112, 6]
"="=[113, 5]
"#"=[114, 6]
" "=[115, 4]