When comparing Phaser.io vs Duality, the Slant community recommends Phaser.io for most people. In the question“What are the best 2D game engines?” Phaser.io is ranked 8th while Duality is ranked 30th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Great community resources
Pro Built-in Arcade Particle system
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 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 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
If you're browsing Slant, you probably already have a JavaScript enabled browser, which is most of what you need to get started learning JavaScript. The requirement to run a server locally on your computer while developing might make things a little more difficult
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.

Pro Open source
The full source code is available on GitHub, where the framework is actively developed. All of the editor, core and plugin code is written in C#.

Pro Great editor
Duality includes a powerful visual editing system that can be used for previewing, integrating, editing and testing game content.

Pro Live reload of code and assets

Pro Very extensible
Because both Core and Editor are completely plugin-based, Duality not only incorporates a clean and modular design, but is also very extensible - even if it wasn't Open Source. In fact, most of the standard editing capabilities comes in form of Editor plugins.

Pro Built-in physics and lighting

Pro Friendly to version control systems
It can be configured to serialize all data in a text-based format, which has been structurally optimized for version control systems.

Pro Used in commercial projects
It has been used in a production environment without burning the place to the ground. Supposedly artist-proof editor workflow with an API for tailoring the system to fit your team.
Cons
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.
Con Extremely many bugs
Con Developer ignores community needs
Con Visual Studio required
To have possibility for scripting you have to download entire Visual Studio and spend 10 GB of free space
Con Requires windows for development
