First she mates, then she terminates… (more…)
-
Pen Tonic Comics: The Real Batman/Alfred Dynamic
“Aaaaalllllllfred! Aaaaalllllllfred! Allllllfrred!” (more…)
-
Blame it on the algo-algo-algorithms: Basic Math Equations to use in 2D game development
3D game development gets into another dimension of complexity, literally. But sometimes simple is better. Let’s see some simple math equations and structures used in 2D game development. (more…)
-

More efficient Internet Image Format
JPEG is king. For now. But Google’s got their WebP image format. Microsoft’s got their JPEG-XR. BUT, as images get more high-rez, and users become less patient with downloading more content at high speeds (although higher bandwidth is becoming more household and hopefully more affordable), what needs to be done with the Internet “image” in order to make it a little more efficient? (more…)
-
Custom Font Javascript + CSS Implementation
Copyright © 2011 By Chongchen Saelee
There’s only a handful of “websafe” fonts, a collection of fonts that any Internet user’s computer will most likely already have preloaded whether with their operating system or Internet browser. So when a webpage designer is feeling limited with his font selection, he either has to rasterize that custom font into an image or force the user to download the custom font. If the user has to download a custom font, it’s never a gaurantee that it will be compatible as there are many formats of fonts. Even with rasterized fonts as images, depending on how much text needs to be shown, the graphic might get really big and weigh down the downloading speed or drawing performance.
The most efficient method is probably to create a real font using a font editor and hope it works on the user’s end. But font editors cost money, and if you’re not a hardcore typographer, what’s the point of investing in it? So I’m going to attempt to create a “free” solution: implement a simple javascript font system based on a sprite sheet. This is a technique commonly used in game development and I’m sure others out there have done similar thing.

