Building small big things
Wonderful progress on Dungeon Logice JS 
Wednesday, May 15, 2013, 02:29 AM - Progress
Posted by Administrator
All of the primary menu screens are down or trivially implemented by using known working code. The main game generator code is quite monolithic, but the convertion to JavaScript was mostly successfully. Only bug I have is "isKindOfClass" vs. "instanceOf" which should have worked except I am using cocos2d's class inheritance system which doesn't seem to work as I would expect.
add comment ( 1 view )   |  0 trackbacks   |  permalink
Custom fonts work in Mobile safari too! 
Wednesday, May 8, 2013, 10:56 PM - Progress
Posted by Administrator
I pointed the iPad to the local server to check support and it works as well.


add comment ( 2 views )   |  0 trackbacks   |  permalink
Using custom fonts in Cocos2d javascript 
Tuesday, May 7, 2013, 07:20 PM - Progress
Posted by Administrator
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 ( 2 views )   |  0 trackbacks   |  permalink
Porting to Javascript 
Monday, May 6, 2013, 10:25 PM - Announcements
Posted by Administrator
In association with "One Game a Month" (#1GAM), I am porting the original Dungeon Logica from Cocos2d for iPhone to Cocos2d for Javascript.


1 comment ( 5 views )   |  0 trackbacks   |  permalink
A play through on Easy 
Sunday, June 13, 2010, 04:16 PM - News
Posted by Administrator

add comment ( 1 view )   |  0 trackbacks   |  permalink   |  related link

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Next> Last>>