When comparing Cocos2d-x and Cocos Creator vs Source, the Slant community recommends Cocos2d-x and Cocos Creator for most people. In the question“What are the best 3D game engines?” Cocos2d-x and Cocos Creator is ranked 21st while Source is ranked 29th. The most important reason people chose Cocos2d-x and Cocos Creator is:
25% of iPhone games are made using Cocos2d-x. This means you will not be alone in development, and will have access to a large community. You'll know you are developing for an engine that works.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro A proven engine for mobile development
25% of iPhone games are made using Cocos2d-x.
This means you will not be alone in development, and will have access to a large community. You'll know you are developing for an engine that works.

Pro Good documentation
Documentation includes a programming guide, API reference, video tutorials and massive reference test code project showing all functions and giving working code to the user.

Pro Supports 3D models with skeleton animation
A new feature since Cocos2d-x v3.1 is support for 3D models (in your 2D game), not only this but support for skeleton animations is included too! This awesome feature allows for impressive characters in your game along with easier, more fluid and realistic animations.
Pro Great script language support
It supports Lua and Javascript with full feature support.
Especially with Cocos2d-JS you can develop games cross web and native, and the native solution have great performance with JS Bindings, much better than hybrid solution.

Pro Highly active community for questions and support
Cocos2d-x forums are active.
Pro OpenGL hardware acceleration

Pro Future-proof
Cocos2d-x is not only open source but also supported by Chukong Technologies of China and USA.
Regularly updated and adding support for the latest technologies. 2014 has already seen the release of Version 3, a new Cocos Studio development toolkit (optional) and support for new technologies like skeleton animation systems Spine and Adobe DragonBone.
Pro Greater performance than high level APIs
Cocos2d-x is C++ based engine and it has CPU advantages for most platforms because of that. It uses polygonal mesh methods for sprite rendering for using GPU advantages. (You also use quad methods for benefit CPU).
Pro No external dependencies
Because it is based on Pyglet.
Pro One code for all platforms
On top of supporting pretty much all existing platforms (except consoles), Cocos Creator (Cocos's IDE) allows you to write 1 code that runs on Android, iOS, Windows, MacOS and HTML5 (not Linux though).
Pro Easy integration of 3rd party plugins
Through the use of SDKBox you can easily integrate 3rd party SDKs and plugins for each version of Cocos2D (Lua, C++ or JavaScript), you just choose the SDKs to integrate and SDKBox will do the rest.
For example, if you want to add a rating plugin, you use sdkbox::PluginReview::init();
and if you want to add the Vundle Ad Network SDK, you use the one packaged in SDKBox SDKBOX sdkbox::PluginVungle::init();
.
Pro Allows for easy debugging
It has a built-in Python interpreter that allows for easy debugging.
Pro Very good IDE
Cocos Creator (Cocos' IDE) comes with scene editing, UI editor, animations & particle editors and whatnot. It's also easy to use and pretty intuitive if you read the official documentation & tutorials. Way way better than the old CocoStudio.
Pro Great video tutorials
Hundreds of video tutorials available.
Pro Great documentation
Valve's official documentation website is great for newbies. It demonstrates the pros and cons of the engine (and since the website isn't maintained by Valve, but instead the community, the pros and cons are largely unbiased). There are also a number of pages dedicated to entities used within official Valve games and also community-made mods that were turned into full-fledged games by Valve. These pages explain the ins and outs of how most source programming works. There are also guides for Valve's tools which are both included in Source SDK and in any Valve-developed game.
Pro Runs on every potato pc
Since it has precalculated lighting, this engine is great for low end PCs too.
Pro Many basic entities
You don't need to code your own door or ladder etc. You can pretty much use every entity used in Half-Life 2 yourself easily.
Pro Visual logic, no programming
Of course you can program stuff into source but for level design only, source has a really easy input/output system for your level logic (e.g. doors, trigger when player walks into room...).
Pro Has a built-in video capture and editing application
Source includes Source Filmmaker, a video capture and editing application.
Pro Easy way to export or load source models to unity and maps
Cons
Con Poor support and non-existent community
Up until 2013, this was one of the best engines around. However, since then it was bought by a Chinese company and began stagnating - it's virtually in a slow death. Most developers abandoned Cocos in favor of more modern solutions leaving the community weak and the forums with little or no traffic. Although the Cocos2d-x Forum seems to have a decent community going.
Con No Graphics user interface
Con Modest functionality
Almost all free alternatives are more convenient, faster, and more functional.
Con Only for mods
Normally, you can only use the Source Engine to develop "source-mods" (as Steam calls them), however the developer wiki is correct in saying Valve have a proven track-record for finding source-mods and turning them into fully-fledged games, Black Mesa Source is a good example of this, as it began life as a source-mod available for free, however Valve turned it into a fully-fledged and paid game.
Con SDK is outdated and difficult to use
Source SDK has not been updated in ages, and has instead been "re-released" under different names, e.g "Source SDK 2013 Singleplayer".
It's honestly easier to use the version of SDK included with any Source game, namely Portal 2 or DOTA 2, since both have a variant of Source SDK that is more updated than anything you can find in the tools section of Steam.
