When comparing Cocos2d-x and Cocos Creator vs Phaser.io, the Slant community recommends Cocos2d-x and Cocos Creator for most people. In the question“What are the best 2D game engines?” Cocos2d-x and Cocos Creator is ranked 8th while Phaser.io is ranked 14th. 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.
Ranked in these QuestionsQuestion Ranking
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 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
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
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
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
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 Good tutorials, courses and books
There are plenty of great learning resources available for Phaser.io.
Pro Super-simple loading of assets
Pro Excellent tools for sprites
Pro Built-in Arcade Particle system
Pro Great community resources
Pro Support for Arcade Physics, Ninja Physics and p2.js
Pro Easy to learn
Most tasks are done just using 2 or 3 lines of code.
Pro Very fast to develop with
Pro WebGL and Canvas rendering modes
You can choose WebGL or classic HTML canvas element for game rendering.
Pro Very active development
This is one of the most developed frameworks right now.
Pro No install required
All you need to do is attach Phaser script to a HTML page even without installing any extensions.
Pro Easy to understand if you have used flash
Phaser provides a similar approach as to that of Flash games, where you can load assets and place them on a stage, and even improves upon the shortcomings of actionscript. It is very easy to shift from flash to HTML5 development because of this approach.
Pro You can run it in the cloud
You can use it in popular online editors like replit, codandbox, etc.
Pro Animating is easy
Pro Has separate versions maintained by developer and the community
The creator of phaser(photonstorm) has given the older(Phaser 2.0) source code to the community for their own maintenance, and has made Phaser 3.0 with a different style and approach, trying to make it easier for beginners to learn.
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 Using Cordova to Export for Mobile
To export to mobile games you need to use cordova.
Con Official documentation is not so good
Con Poor performance
As long as your map is not larger than 600*400px, everything is fine.