Not logged in. · Lost password · Register
Forum: NFGgames NFGgames.com Games (General) RSS
Arcade Font Engine - Code Release
Reply
Avatar
Reply · Quote (Administrator) #1
User title: Top Chaos Wrangler
Member since Sep 2007 · 1747 posts · Location: Brisbane, AU
Group memberships: Administrators, Members
Show profile · Link to this post
Subject: Arcade Font Engine - Code Release
You may have seen my Arcade Font Engine and wanted to have such useless toys for your own magnificent site, but couldn't bring yourself to ask for the code.

Well, languish no longer!  I'm hereby releasing the engine code for all interested parties, free of charge, free of encumberance.  It's a single PHP script that requires only a font file to be used in any nefarious way you desire.

Note that this is the image making component, not the frivolous front-end linked above.  This means you have the guts of the machine, suitable for all kinds of purposes.  Basically, you can replace any text with an image made from arcade fonts and put it anywhere on your own sites.

First, you may want to view the code on pastebin.com, where you can see how marvelous my coding abilities are.  Please forgive me if any part of it sucks, for I am not a programmer and this was my very first ground-up PHP creation.  I'm very proud of it, but I am certain it's an inelegant, execrable desecration in the eyes of people with real coding talent.

It's heavily commented and shouldn't be hard for anyone to work into their own site.

If you like what you see, you can download the script and all fonts

The font engine script is released under a Creative Commons Zero license.  Note that the fonts included probably belong to the companies that made them, and I hope they don't mind.

You may also be interested in:
[Image: http://nfggames.com/system/arcade/special.php/b-d/bp-5/y-kof97/z-10/x-What?/.png]
This post was edited 2 times, last on 2009-03-15, 21:46 by NFG.
Reply · Quote (Guest) #2
No profile available.
Link to this post
It's a great job!

Congratulations!
Avatar
Reply · Quote (Administrator) #3
User title: Top Chaos Wrangler
Member since Sep 2007 · 1747 posts · Location: Brisbane, AU
Group memberships: Administrators, Members
Show profile · Link to this post
New version has been uploaded (v1.2).

This version adds the ability to select RANDOM fonts ( /y-r/ ) and variations ( /z-r/ ).  There were some other internal changes to support this, but no functional changes.  Of course, unintended changes aren't bugs, they're features!

[Image: http://nfggames.com/system/arcade/special.php/b-d/bp-5/y-kof97/z-10/x-What?/.png]
Avatar
Reply · Quote (Administrator) #4
User title: Top Chaos Wrangler
Member since Sep 2007 · 1747 posts · Location: Brisbane, AU
Group memberships: Administrators, Members
Show profile · Link to this post
New version online (v1.3).

New in this version is a secondary font folder for large fonts, so that non-8x8 fonts can be used without breaking the fontmaker.  Also, this version now has default colour, font and phrase selection, to avoid screens full of errors when they're omitted from the URL.

[Image: http://nfggames.com/system/arcade/special.php/b-d/bp-5/y-kof97/z-10/x-What?/.png]
Avatar
Reply · Quote (Administrator) #5
User title: Top Chaos Wrangler
Member since Sep 2007 · 1747 posts · Location: Brisbane, AU
Group memberships: Administrators, Members
Show profile · Link to this post
A quick update: the archive now includes all the large fonts.  No changes have been made to the script.

[Image: http://nfggames.com/system/arcade/special.php/b-d/bp-5/y-kof97/z-10/x-What?/.png]
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Reply
RSS RSS Feed for this thread
This board is powered by the Unclassified NewsBoard software, 20100516-dev, © 2003-10 by Yves Goergen
Current time: 2010-09-03, 16:44:04 (UTC +10:00)