cocoshop icon indicating copy to clipboard operation
cocoshop copied to clipboard

CCBox2D Support

Open psineur opened this issue 13 years ago • 5 comments

Just read a little CCBox2D Sources, looks very cool, nice job, @axcho. It should be very easy to support CCBox2D in Cocoshop, thanks to @andrew0's core of Cocoshop. I.E. to add support of CCBodySprite, you can just use CCBodySprite as a superclass of CSSprite and add more controls to sprite info view.

@axcho, @AndreasLoew, cocoshop can be used as editor for CCBox2D Scenes, so if you will play with it - please, comment in this issue.

Probably i will use CCBox2D as a physics engine & Cocoshop as scene & menus editor in my next game, so i will post about implementing this issues here.

psineur avatar May 24 '11 21:05 psineur

some sort of integration with @AndreasLoew physicsEditor would be awesome. i.e. use physicsEditor to create the shape of a sprite. Save that into a plist file. fire up cocosShop, add your sprite and associated it with the plist file that defines its shape we created earlier. once that info is stored on the csd file and then CSDReader could draw a sprite on screen and also attach the box2d shape to it so its ready for collision detection and physics simulation as well. these tools will make game development much more rapid

unitedworx avatar Jun 02 '11 22:06 unitedworx

@psineur we should investigate combination of your tool with PhysicsEditor and TexturePacker if you like...

CodeAndWeb avatar Jun 06 '11 09:06 CodeAndWeb

@AndreasLoew of course! I thought that i will get to CCBox2D first, while adding it to the https://github.com/cocos2d/cocos2d-iphone-extensions repo. After this i need to learn PhysicsEditor and add CCBox2D with PhysicsEditor Support to cocoshop.

For TexturePacker support: - there's no additional changes needed, cause cocoshop simply uses cocos2d to add any sprites, so if sprite can be added with CCTextureCache#addImage - it's compatible with cocoshop.

psineur avatar Jun 06 '11 09:06 psineur

@shogan, ideas for CCBox2D support icons: http://dl.getdropbox.com/u/1765875/79584589.png (last one)

Official CCBox2D Icon issue: https://github.com/axcho/CCBox2D/issues/2

psineur avatar Jun 06 '11 17:06 psineur

@psineur, those are great! I'll see what I can come up with if any icons are needed. :)

Shogan avatar Jun 07 '11 07:06 Shogan