In ProffieOS7 the “Alt Font” capability will allow style code to change the font sounds being used by setting up “altNNN” folders within the font.
This may not look like much on the surface, but this is a key piece to a whole new level of synergy between styles and fonts.
In OS7, style code will now be able to change the sounds your font is using in real-time. “Alt” font is a new way to set up your fonts to work with styles so that you can change any and all sounds in the font to match to the visual effects.
Here are some demos I’ve shot so far but there are many more uses.
Alt Font can be used with Kyber Select styles to allow the change in color/effect to also align to a specific “alt” folder in your current font.
Alt Font can be used with ColorSelect<> styles for Dual Phase or Multi Phase blades so each color/effect aligns to a specific “alt” folder.
Alt Font can also be used with “interactive” styles to create “states” in your blade styles that not only change how the blade looks but how it sounds for a temporary or toggled effect
In order to implement you will need to set up “alt” folders in your font for the sounds you want to toggle/synchronize and then include the necessary transitions (coming soon) in the style code to interact with the font.
Setting Up “alt” sounds in your font.
What this means is you can set up any of the sounds you want to change via the style code in an “altXXX” folder. So let’s say we want to change the hum, in, out, swingh, swingl and swng sounds in our current font to match to visual changes in the style code.
We would set up the font like so:
<root>
alt000/
alt001/
alt002/
alt003/
alt004/
bgndrag/
bgnlb/
bgnlock/
bgnmelt/
blst/
boot/
clsh/
drag/
enddrag/
endlb/
endlock/
endmelt/
font/
force/
lb/
lock/
melt/
quote/
...
you’ll then put the hum, in, out, swingh, swingl, swng sounds into the “altXXX” folders, this will allow these sounds to be selected by the style code
<root>
alt000/
hum/
in/
out/
swingh/
swingl/
swng/
alt001/
hum/
in/
out/
swingh/
swingl/
swng/
alt002/
hum/
in/
out/
swingh/
swingl/
swng/
alt003/
hum/
in/
out/
swingh/
swingl/
swng/
alt004/
hum/
in/
out/
swingh/
swingl/
swng/
NOTE: every altXXX sound needs to have the EXACT same number of files. So if alt000 has 4 hums, 4 in, 4 out, 8 swingh, 8 swingl and 16 swng then every other altXXX needs the exact same number of files for each. If there are a different number of sounds you will get “error in font directory”.
alt001 sounds are always used by default, alt selection in the style code is done starting at 0, so selection 0 = “alt000” sounds, selection 1 = “alt001” sounds a so forth.
You can use any sounds you want in the alts, so you can combine multiple fonts into a single font folder and use in a preset and then change the sounds accordingly via the style code. Any and all sounds in a font can be moved into an “altXXX” folder and then be selected by the style code.
<The style side is not merged yet, once added I’ll document how it works here>