cocos2d tools to add to wiki

Hello,
set each element in scene tag for identification and then use getChildByTag().

If you have two buttons use tags too:

HelloWorld::menuCallback(CCObject* pSender)
{
   CCNode* node = (CCNode*) pSender;
   int nodeTag = node->getTag();

   if (nodeTag == 1)
   {
      //first button
   }
   else if (nodeTag == 2)
   {
       //second button
   }
}

where the tag we can set it ?
I didn’t find tag where we can set in Cocosbulier.

1.select item for which you can set tag
2.set tag for selected item

The Spriter may be a good tool in coming future


Reference: http://www.cocos2d-iphone.org/forum/topic/30781

Hi All,

I have updated the GB2ShapeCache reader class to work with the newest branch of cocos2d-x, 2.0. This handles the deprecation of CCMutableDictionary and CCMutableArray. Check out the project page on my site for download or links to the source on github: http://www.channon.us/?page_id=48

Is there a free font editor available for Mac OS X ?
What are you guys using ?

I’m not sure about a good free font editor for OS X, I’m using GlyphDesigner and I’m satisfied. If you find one, let us know

Is there a free font editor available for Mac OS X ?
What are you guys using ?

http://fontforge.org/mac-install.html

Krunoslav Radem: it doesn t work; got a “this doesn’t appear to be a windows fnt for FON file” and other non-compatible errors…

it doesn t work; got a “this doesn’t appear to be a windows fnt for FON file”
and other non-compatible errors…

I don’t know in which part of the process you’ve got that messages.

I’ve installed fontforge on my virtualbox Mountain Lion (through

sudo port -v install fontforge

after installing MacPorts 2.1.3, XCode Command Line Tools (XCode/Downloads) and XQuartz 2.7.4. (X11) and everything works fine.

yeah I used mac ports too,

I get this error when I try to load any fnt file included with cocos2d-x.

I get this error when I try to load any fnt file included with cocos2d-x.

.fnt file is special purpose font format, you should use Bitmap Font Generator or Hiero to generate it after you’ve designed your font with, for example, fontforge.

OK thanks for the tip

Another great free tool for Cocos2d and Cocos2d-x development: Particle Editor for Cocos2d and V-Play - http://v-play.net/2014/02/v-play-particle-editor-for-cocos2d-and-v-play/ This particle editor is the ultimate particle creation tool for your games which allows you to visually configure stunning particle effects in real-time and test them instantly for games using Cocos2d and Cocos2d-x. It includes free export functions and is available for Android, iOS, Windows and Mac http://games.v-play.net/particleeditor/. The full source code of the particle editor is also available and is part of the V-Play SDK https://v-play.net/download/.