It’s been a while since I developed games and now before I begin, I need to clarify some doubts.
I am trying to make a simple 2D side scrolling game using cocos2dx C++.
1) I decided to use box2d for physics and as I have sprites of different shapes in my game, I want to know if there is any editor available for box2d which can create custom bodies for my sprites so that I can add them directly to my game.
2) Is cocos2dx v3.4 sufficient for making a nice 2D game?
EDIT:
PhysicsBodyEditor is very useful for creating Custom Physics Bodies but I coudn’t find the Loader class for box2d. Can someone please share the Loader class?
Any suggestions regarding box2d and Custom Physics Bodies are welcomed.
1.Box2d editor is an editor where you can create custom bodies for your sprites. https://code.google.com/p/box2d-editor/
2.And for the cocos version I would use the last version but v3.4 is also good
Suggestions:
Try to keep the physics body simple - using one of the editors it is easy to end up with complex shapes that match the edge of your sprites - but do you really need that accurate collision?
My shapes are simple and, although I own PhysicsEditor, I actually mainly manually edit the Json most of the time.
Go to http://iforce2d.net where every Box2d question you ever have will be answered (well, pretty much - it’s an awesome resource)