Now hand swim a mess, the engine is in addition to lead the 3D market Unity3d, dominate the 2D market cocos2d-x outside, there are unreal, sphinx, and even Sohu has developed a domestic genesis-3d engine.
Other not much said, here is mainly compared Unity3d and cocos2d-x, help you choose.
If you want to develop a 2D game that has the foundation of one of the C++/c/lua, then cocos2d-x might be better for you. He is a 2D game design, with rich source code, examples and tutorial documentation. You can get strong support from the community.
If you want to develop a 3D or 2D game, there is an object-oriented programming language foundation (such as Java, C #, as, etc.). Then Unity3d will suit you very well. Although he is a major player, Assetstore has a rich plugin that makes it difficult for you to build a 2D game quickly.
Actually put these two things together than, even if not strictly said there is no way to say. Cocos2d-x is a rendering engine that focuses on 2D games (even if there are many techniques for using 3D internally). and unity is a solution, not just the rendering engine, which was previously focused on the development of 3D applications; Recently, because it is a 2D plugin (to help developers to make 2D games) in the user demand is still relatively strong, strategic official began to the function of the plug-in officially (the official start to make 2D function module), So it can be said that the function of Cocos2d-x is also fused in. This is a conceptual clarification.
Based on the concept back to the problem, learning these two things is not the direction of two technology, but the direction of two game development types. Because unity makes sense, Cocos2d-x is a subset (only for rendering management). All I can say is, for starters, if you're not just trying to focus on 2D games, you can start with unity, for reasons:
1, the complete solution, learn one, other things to get started very quickly;
2, a huge amount of learning materials;
3, no C + + cumbersome, can concentrate on the technical point of learning;
Learning difficulty, I think C + + if good, cocos2d-x relatively small, involving a lot less function, so, relatively simple; but if C + + is not good or bad, it is a different story, and relative to the introduction of JS and C # more pro-people.
So how do I personally choose Unity3d and cocos2d-x?
I naturally choose the Unity3d:
1, although you may be doing 2D games now, but if you want to do 3D later? The conversion cost from 2D to 3D is very low with unity3d.
2, rich plug-in support.
3, mature tools and a powerful editor to expand, so that you can easily customize the appropriate for your project needs of the editor.
4, built-in powerful performance analysis tools.
5. Almost all major platforms supported: WEB, Win, Mac, IOS, Android, XBox, PS3, Wii
6, Unity5 also has a more perfect lighting system, UI architecture and support to publish into HTML5. It can be seen that the development of the engine is at a high stage.
The choice of mobile game engine--learning game development cocos2d-x and unity3d/2d which prospect is better? Easier to get started?