The stock font is the default, so this score_graphics.asm will function exactly as the stock score_graphics.asm that came with bB if you don't specify a custom font or custom characters.
This file is a drop-in replacement for the official bB score_graphics.asm. You can either replace the official score_graphics.asm with this one, or just drop the file in your project directory: score_graphics.zip 3.89KB 209 downloads
My fonts are public domain, though it would be nice if you mention them if you use of them in a project, to help spread the word. Plok is one of Ste's bitmap fonts and the license for it is basically Public Domain. The bB stock font is under the bB license.
rem Example of enabling a custom font. Options are: NOFONT, STOCK, NEWCENTURY, rem WHIMSEY, ALARMCLOCK, HANDWRITTEN, INTERRUPTED, TINY, RETROPUTER, SNAKE, rem HUSKY, CURVES, or PLOK... const fontstyle = WHIMSEY rem Example of enabling a custom font and enabling hex characters... const fontstyle = HANDWRITTEN const fontcharsHEX = 1 rem Example of enabling custom characters. Custom chars are: fontcharSPACE, fontcharDOLLAR, rem fontcharPOUND, fontcharMRHAPPY, fontcharMRSAD, fontcharCOPYRIGHT, fontcharFUJI, rem fontcharHEART, fontcharDIAMOND, fontcharSPADE, fontcharCLUB, fontcharCOLON, rem fontcharBLOCK, fontcharUNDERLINE, fontcharARISIDE, fontcharARIFACE const fontcharSPACE = 1 const fontcharCOPYRIGHT = 1 rem You can only use 16 possible characters, so while the following is valid syntax, rem you'll never be able to access the custom characters... const fontcharsHEX = 1 const fontcharSPACE = 1 const fontcharMRHAPPY = 1[edit: added in PLOK, and some new custom symbols.]
Edited by RevEng, Mon Aug 24, 2009 7:58 PM.