(The Urban Legend Website is located at Snopes.com
(we fully support what they do))
In order to use custom fonts in Cocos2d, I had to add the following to the header of the HTML page so I could later reference the font for menus and buttons:
<style>
@font-face {
font-family: 'Stiltedman ';
font-style: normal;
font-weight: 400;
src: local('Stiltedman '), url("fonts/Stiltedman .ttf") format("truetype");
}
</style>In essence, this is required so the browser will download the font, making it be referencable by the library.
This works in Chrome and Firefox. From my understanding, Internet Explorer requires a different font format, which I dont plan on supporting.
[ add comment ] ( 1 view ) | [ 0 trackbacks ] | permalink | related link
I was in need of a consistant way to create simple, evenly spaced spritesheets from multiple layers in Paint.NET and I figured I would share the plugin.
DOWNLOAD: Paint.NET Spritesheet plugin
DISCUSSION: Spritesheet Export Plugin
[ add comment ] ( 5 views ) | [ 0 trackbacks ] | permalink | related link
Using #1GAM to learn HTML5 game programming.Feb's game is on track #ScreenShotSaturday twitter.com/Mad_Dugan/stat…
— Mad_Dugan (@Mad_Dugan) February 10, 2013
[ add comment ] ( 8 views ) | [ 0 trackbacks ] | permalink | related link
It looks like February's game will be a Breakout clone. The take away for this game will be JSON loaded levels and IOS native webapp support. As with January's game, all code will be made available via github.
[ add comment ] ( 9 views ) | [ 0 trackbacks ] | permalink | related link
Investigating the Udacity online HTML5 class starting in February. The class summary says that it will cover the major components of an existing HTML5 game, but I am concerned that game is only Chrome compatible.
http://www.udacity.com/overview/Course/ ... ourseRev/1
[ add comment ] ( 4 views ) | [ 0 trackbacks ] | permalink | related link

Random Entry



