IGB charLib is used for generating IGB L2 code that draws chars on the screen.
Currently using the Advanced Pixel-7 font.
Basic usage:
FontToGenerate[] fontsToGenerate = {
// font name font type font size NAME (generates function named ${NAME}drawchar())
new FontToGenerate(new Font("Advanced Pixel-7", Font.PLAIN, 14), "small"), // generates function named smalldrawchar()
new FontToGenerate(new Font("Advanced Pixel-7", Font.PLAIN, 20), "big"), // generates function named bigdrawchar()
};
IGB_charlib charlib = new IGB_charlib(fontsToGenerate, 32, 127);
String l2Code = charlib.getL2Code();
me.krypek.utils.Pair<String[], int[]> pair = charlib.getFormatedL2Code();
- Java-Utils
- IGB-Compiler-L1
- IGB-Compiler-L2
- Advanced Pixel-7 font installed
Licensed under GNU GPLv3 or later