Posts Tagged ‘development’

Aug 19, 2014

Transitioning Into Adulthood

Jan 19, 2012

Qt’s QTransform and Mode 7 (fake 3D) attempted implementation

If you can’t implement real 3D, then fake 2D 3D graphics might work. (more…)

Aug 7, 2011

Code Problem Solved: How to Implement z-order Rendering

If you’ve dealt with cascading style sheets (CSS) in web design, then you might be aware of z-index (also known as z-order). This special attribute tells the web browser to render elements in a certain order. But specifically in webpages, a z-index can range from 0 to 99, where 0 is the farthest back element (it is rendered first) and 99 is the front most element (it is rendered last). All is well when the software’s already working for you, but what about in game development? Here’s a way… (more…)

Jun 25, 2011

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.

(more…)

Oct 3, 2010

Scrolling Game Development Kit/BMDXCtls patch for Widescreen Monitors

Here we go:

http://www.eastfist.com/sgdkBMDXCtlsPatch.html

Ancient in digital trend years, but still VERY functional in Windows XP and Vista. By adding a few more lines of code to the drawing engine, SGDK games will display correctly on widescreen monitors. (more…)