Posted: May 23rd, 2013 | Author: admin | Filed under: Development | No Comments »
This is a flexible box layout for cocos2d-iphone partly based on w3c recommendation http://www.w3.org/TR/css3-flexbox.
justify : (start | end | center | spaceAround | spaceBetween )
align : (start | end | center | stretch)
direction : (row | column)
The layout handler is decoupled from the cocos2d node and modifies only the position.
Read the rest of this entry »
Posted: May 18th, 2013 | Author: admin | Filed under: Development | No Comments »
This is a shot of my Piano App.
And a video of it in action.
Posted: May 17th, 2013 | Author: admin | Filed under: Development | No Comments »
I got frustrated trying to find a free bitmap font builder on MacOS. On windows, I used BmFont over at angelcode.com.
So I made one myself using Processing.
This is purely a developer’s tool. No GUI. Build the bitmap font through java code.
Creating a font file is quick.
Builder builder = new Builder();
builder.init(256,256,"Marker Felt", 18);
builder.smooth = true;
builder.charPadding = 10;
builder.charSpacing = 2;
builder.textColor = color(255,0,0);
img = builder.renderAllPages(512,512,true);