When comparing Crafty.js vs ENIGMA Development Environment, the Slant community recommends Crafty.js for most people. In the question“What are the best 2D game engines?” Crafty.js is ranked 37th while ENIGMA Development Environment is ranked 60th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros

Pro Javascript

Pro Eventbinding
Easy to learn, based on Entities and Components, the later being class-like objects that entities inherit.
Pro Modular
Has open function binding systems, allowing easy creation of custom components.
Pro Raw C++ power and GML accessibility
Almost full support for GML,
The ability to create and access C++ types, templates, and functions, compile DLLs and other C/C++ scripts
Pro Cross platform
Support for Windows, Mac and Linux.
Pro Compatible with GameMaker
Enigma can support over 90% of gamemaker's GML language
Pro Friendly user interface
besides the powerful combination between GML and C++, beginners can also use drag and dropping.
Pro Free and Open Source

Pro Faster than GameMaker
Written in C++, many features have been demonstrated running much faster than interpreted equivalents in GameMaker (up to 10-20 times faster than GM 8.1).
Pro Under active development
Changes are made daily to add new functions/fixing bugs.
Pro Helpful error messages
A full stack trace with available cores and memory information as well as operating system and Java version including file names and number is generated whenever an exception is encountered, with a handy link to submit the issue to GitHub.
Cons
Con No IDE
If you like having some huge GUI akin to Gamemaker, Unreal, Unity, etc, Crafty is not for you.
Con A few bugs & glitches
Because Enigma is under very rapid development, with new functions added almost daily, some bugs and unexaplainable glitches can happen, though they also gets patched quickly.
Con No code refactoring
Like any C++ based programs, the ability to refactor is limited. However, the new Ide for engima will support a few refactoring cababilities
