When comparing Duality vs Defold, the Slant community recommends Defold for most people. In the question“What are the best 2D game engines?” Defold is ranked 21st while Duality is ranked 30th. The most important reason people chose Defold is:
Defold uses Lua, which is regarded as an easy to learn language by most.
Specs
Ranked in these QuestionsQuestion Ranking
Pros

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.
Pro Easy to learn
Defold uses Lua, which is regarded as an easy to learn language by most.
Pro Completely free of charge
Software and online dashboard are free of charge.
Pro Good combination of visual editing + code (Lua)
You can do a lot with drag and drop, but you're not limited -- the code (Lua, which is easy to learn) allows you more power than just visual editing usually gives you.
Pro Fast results
Going from idea to result is very important for the creative process.
Pro Visual editor
Pro Very performant
Being crossplatform it is important to work on low end devices.
Pro Easy and fast export for various platforms
Pro Great community
A very active and friendly community in forums.
Pro Source code available
You can download and modify the source code of the Editor and the engine for free.
Pro Collaborative
You can invite friends from the dashboard and create games together.
Pro Hot reload
It allows you to change scripts in a game while it is running live. Common use-cases is to tweak gameplay parameters or to perform debugging on a running game.
Cons
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
