Daniel Rakos cocos2d tools to add to wiki
Posts 45
Added by Daniel Rakos over 1 year ago

Hi,

I would like to suggest a few tools to be added to the page Editors_for_cocos2d-x_TextureTilemapParticleActionLevel_etc.
I found these when searching for tools for cocos2d.

Font editor: Texture atlas editor: Physics object editor:

Can you please add these to the wiki?
I would encourage others as well so that if you find any nice tool to use with cocos2d-x, please share it with the rest of the community!

Zhe Wang RE: cocos2d tools to add to wiki
Posts 1642
Location Amoy, China
Added by Zhe Wang over 1 year ago

Thanks very much for your info. I just updated the wiki page.
If you know other tools/editors compatible with cocos2d-x, please tell me, I'm very glad to promote them on this website. :)

Enjoy Coding, Enjoy Life.

Dac Toan Ho RE: cocos2d tools to add to wiki
Posts 15
Added by Dac Toan Ho over 1 year ago

Hello
If you could also add Bitmap Font Generator to the Wiki. It's free

http://www.angelcode.com/products/bmfont/

Thanks
Dac

Milda Genius RE: cocos2d tools to add to wiki
Posts 105
Added by Milda Genius over 1 year ago

Hello,
I have some tips.

Graphical interface builder:
http://cocosbuilder.com/
http://www.cocos2d-iphone.org/forum/topic/15668

Zhe Wang RE: cocos2d tools to add to wiki
Posts 1642
Location Amoy, China
Added by Zhe Wang over 1 year ago

@Dac Toan Ho, I added Bitmap Font Generator

@Milda Genius, Basically thought, an action editor must output the result to a file format (xml, json, etc), then parse it at running the game. If you use CocosBuilder, you must add CCBReader.m & CCBReader.h into your cocos2d project. But this class is in objc, which means you can only use it in ios game, but not other platforms. I think it's the same to CocoShop. Anyway, they are compatible with cocos2d-x ios port, so I just add them into the wiki page.

It will be highly appreciated if anyone can contribute the c++ port of CCBReader.m/.h to CocosBuilder.com :)

Enjoy Coding, Enjoy Life.

Milda Genius RE: cocos2d tools to add to wiki
Posts 105
Added by Milda Genius over 1 year ago

We have ported reader to C++, but its first unoptimized version (its really slow).

So if somebody can do optimalization, it will be great.

Use:
CCNode* ccbScreen = CCBReader::getInstance().nodeGraphFromFile("example.ccb", this, menu_selector(HelloWorld::menuCallback));
this->addChild(ccbScreen);

CCBReader.zip (5.3 kB)

CocosBuilder.zip (8.8 MB)

Zhe Wang RE: cocos2d tools to add to wiki
Posts 1642
Location Amoy, China
Added by Zhe Wang over 1 year ago

Awesome work! Have u contacted the author of CocosBuilder?

Enjoy Coding, Enjoy Life.

Kay Chan RE: cocos2d tools to add to wiki
Posts 2
Added by Kay Chan over 1 year ago

Ya it really looks nice. Any other progress from now on? And can you please state which part is not optimized and slow?

Milda Genius RE: cocos2d tools to add to wiki
Posts 105
Added by Milda Genius over 1 year ago

Hello,
nothing big news from last post.

I contacted the author, with info about port to C++ and some proposals, but no answer from him.

The slow part is reading fragments from sheets and ofcourse working with dictionary.

But its still best tools for creating UI.

Kay Chan RE: cocos2d tools to add to wiki
Posts 2
Added by Kay Chan over 1 year ago

Agree and thanks. That seems not a big deal. I'm finding out the way of the code connection.

小 苏 RE: cocos2d tools to add to wiki
Posts 83
Added by 小 苏 about 1 year ago

thank you Milda,

Md Chowdhury RE: cocos2d tools to add to wiki
Posts 3
Added by Md Chowdhury about 1 year ago

Any level editor or particle editor for windows?

小 苏 RE: cocos2d tools to add to wiki
Posts 83
Added by 小 苏 about 1 year ago
小 苏 RE: cocos2d tools to add to wiki
Posts 83
Added by 小 苏 about 1 year ago

sorry,it‘s for mac

and it's for windows really!
http://code.google.com/p/cocos2d-windows-particle-editor/

Tix Lo RE: cocos2d tools to add to wiki
Posts 26
Added by Tix Lo about 1 year ago

Daniel Rakos wrote:

Hi,

I would like to suggest a few tools to be added to the page Editors_for_cocos2d-x_TextureTilemapParticleActionLevel_etc.
I found these when searching for tools for cocos2d.

Font editor: Texture atlas editor: Physics object editor:

Can you please add these to the wiki?
I would encourage others as well so that if you find any nice tool to use with cocos2d-x, please share it with the rest of the community!

I rewrite the GB2ShapeCache of PhysicsEditor by using C++ and hope it is useful.

Seongkue Kang RE: cocos2d tools to add to wiki
Posts 13
Added by Seongkue Kang about 1 year ago

Anybody who can find way to code connection?

Vitaly Shumakov Free Texture Atlas Maker
Posts 23
Added by Vitaly Shumakov about 1 year ago

Hi all!
I rewrote the free programm "Texture Atlas Maker". The source code was published here: http://www.codeproject.com/Articles/330742/Texture-Atlas-Maker
I've added the ability to save the resulting texture in the following format:".plist". Enable this feature you can click on the button "..options".
How to create texture - described in the link. This is certainly not "TexturePacker", but it's free ;)!

AtlasMaker.jar (54 kB)

Brandon Dorris RE: cocos2d tools to add to wiki
Posts 15
Added by Brandon Dorris about 1 year ago

Did anyone make any more progress on the CCBReader.cpp? If not, I'm going to take a look at it and see what I can do.

winipcfg winipcfg RE: cocos2d tools to add to wiki
Posts 56
Added by winipcfg winipcfg about 1 year ago

小 苏 wrote:

sorry,it‘s for mac

and it's for windows really!
http://code.google.com/p/cocos2d-windows-particle-editor/

Good to know that there is an Editor in Windows. Tried it and found a bug.
Anyone knows the project website so we could update the issues and feedbacks? Thanks

铮 黄 RE: cocos2d tools to add to wiki
Posts 2
Added by 铮 黄 about 1 year ago

Milda Genius wrote:

We have ported reader to C++, but its first unoptimized version (its really slow).

So if somebody can do optimalization, it will be great.

Use:
CCNode* ccbScreen = CCBReader::getInstance().nodeGraphFromFile("example.ccb", this, menu_selector(HelloWorld::menuCallback));
this->addChild(ccbScreen);

if it have two button,How can we do?
and can we get the element of the scene?

Milda Genius RE: cocos2d tools to add to wiki
Posts 105
Added by Milda Genius about 1 year ago

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
   }
}
铮 黄 RE: cocos2d tools to add to wiki
Posts 2
Added by 铮 黄 about 1 year ago

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

Milda Genius RE: cocos2d tools to add to wiki
Posts 105
Added by Milda Genius about 1 year ago

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

CocosBuilder.png (216.3 kB)

winipcfg winipcfg RE: cocos2d tools to add to wiki
Posts 56
Added by winipcfg winipcfg about 1 year ago
Chris Hannon RE: cocos2d tools to add to wiki
Posts 8
Added by Chris Hannon 11 months ago

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


(1-24/24)