When comparing ImpactJS vs Duality, the Slant community recommends Duality for most people. In the question“What are the best 2D game engines?” Duality is ranked 30th while ImpactJS is ranked 57th. The most important reason people chose Duality is:
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#.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Extensive documentation available to support development
ImpactJS has an active user community that busily produces tremendous resources including videos, books, tutorials, walkthroughs and more. There are also comprehensive class documentation available.
Pro Excellent collision detection system
Impact provides 2 types of collision detection; static and dynamic collisions. Both of which are easily integrated into game development.
Pro Extendable
Many plugins are available, including one called Impact++ which adds features like pathfinding and dynamic lighting.
Pro Level editor
Built-in map editor with support for tiling, collision layers, and actors.
Pro Optimized
Works with Box2d physics library, comes with all worthwhile elements for actors built in.
Pro Truly cross-platform allowing developers to build for anything
Extending the reach of a game developed with ImpactJS is easy due to the cross-platform nature the framework. There are Considerations around performance, resolution and audio, however all can be appropriately addressed when in development. Works in the browser via Canvas, even on mobile. Easily translatable into a packaged app.
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 Inactive
The last update was in 2014.
Con Cost of $99
While most HTML5 frameworks are offered as free open source projects, ImpactJS has a one time cost and no free option.
Con Visual Studio required
To have possibility for scripting you have to download entire Visual Studio and spend 10 GB of free space