Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

FontDemo GB: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 11: Line 11:
|download=https://dlhb.gamebrew.org/gbhomebrews/fontdemogb.7z FontDemo + String Code
|download=https://dlhb.gamebrew.org/gbhomebrews/fontdemogb.7z FontDemo + String Code
|website=http://www.tripmode.com/gbdev/gbc.html
|website=http://www.tripmode.com/gbdev/gbc.html
|source=fontdemogb.7z
|source=://dlhb.gamebrew.org/gbhomebrews/fontdemogb.7z
|donation=
|donation=
}}
}}

Revision as of 04:22, 27 Haziran 2024

FontDemo
Fontdemogb.png
General
AuthorJonathan Waugh
TypeSamples
Version2000
LicenseMixed
SystemCGB (ASM)
Last Updated2000/05/20
Links
FontDemo + String Code Download
Website
[://dlhb.gamebrew.org/gbhomebrews/fontdemogb.7z 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

fontdemogb2.png fontdemogb3.png

Compatibility

FontDemo was written to work on both the CGB and the older DMG.

External links

Advertising: