More actions
(Created page with "{{Infobox GB Homebrews |title=FontDemo |image=fontdemogb.png |description=Demonstration of the strings program by Jonathan Waugh. |author=Jonathan Waugh |lastupdated=2000/05/20 |type=Samples |version=2000 |format=CGB, DMG (ASM) |license=Mixed |download=https://dlhb.gamebrew.org/gbhomebrews/fontdemogb.7z FontDemo + String Code |website=http://www.tripmode.com/gbdev/gbc.html |source=fontdemogb.7z |donation= }} {{#seo: |title=GameBrew |title_mode=append |image=fontdemogb.pn...") |
No edit summary |
||
Line 7: | Line 7: | ||
|type=Samples | |type=Samples | ||
|version=2000 | |version=2000 | ||
|format=CGB | |format=CGB (ASM) | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/gbhomebrews/fontdemogb.7z FontDemo + String Code | |download=https://dlhb.gamebrew.org/gbhomebrews/fontdemogb.7z FontDemo + String Code |
Revision as of 04:21, 27 Haziran 2024
FontDemo | |
---|---|
General | |
Author | Jonathan Waugh |
Type | Samples |
Version | 2000 |
License | Mixed |
System | CGB (ASM) |
Last Updated | 2000/05/20 |
Links | |
FontDemo + String Code Download | |
Website | |
Source | |
The FontDemo program displays the use of the string code written by Jonathan Waugh. It takes a normal ASCII string (terminated by a null) and creates the tile data necessary to display the string on the Game Boy screen.
It doesn't really display different fonts in this particular program. But the ability is there. This code shows the use of the true-type font MSSansSerif8Pts. It has real-time string creation with alignment possibilities of left, center, right.
Controls
D-Pad - Move cursor
A/B - Add/Delete character
Select - Text alignment
Screenshots
Compatibility
FontDemo was written to work on both the CGB and the older DMG.
External links
- The Post Punk Progression - http://www.tripmode.com/gbdev/gbc.html (archived)