Zap Font - Transparent text for JB

Cool ways to do cool things.
Post Reply
AndyAmaya
Posts: 38
Joined: Sun Sep 17, 2006 8:12 pm

Zap Font - Transparent text for JB

Post by AndyAmaya »

Zap font is a simple way to display text without "blocking out" the graphics beneath the text. The keyword is simple, just copy and paste the "zap" and "loadfont" SUBs into your own program.

The code is fairly well commented.

The zap font data is a plain text file and should be very easy to customize, allowing the intrepid coder to create just about any font. Just remember the more complex the font, the slower it will render at run time.

Zap font attempts to emulate "Gapsosis Outline BRK" by Aenigma Fonts.
http://www.aenigmafonts.com/
Attachments
zap font.zip
Zap Font SUB and text data file
(4.86 KiB) Downloaded 898 times
AndyAmaya
Posts: 38
Joined: Sun Sep 17, 2006 8:12 pm

Two New fonts

Post by AndyAmaya »

OK then,

I've added 2 new fonts. The first is a serif 12pt font to use as a console window look-a-like; or maybe for a text adventure in color! It's a plain vanilla font that could be used just about anywhere.

Run "Box Fonts.bas" and change the "Call loadFont" variable to see the new serif font or to see the prior zap font.

The second font is an inverse text font. This font has all kinds of possible uses for graphic games, including making text sprites. A demo of this ability is in "Inverse font demo.bas".

You can eliminate the first screen in this demo (which just scales the font from 1x to 4.5x) by removing a comment where indicated.
Attachments
BoxFonts.zip
Two additional fonts and a demo
(12.71 KiB) Downloaded 875 times
Post Reply