When comparing Crafty.js vs Melharfi, the Slant community recommends Crafty.js for most people. In the question“What are the best 2D game engines?” Crafty.js is ranked 34th while Melharfi is ranked 107th.
Ranked in these QuestionsQuestion Ranking
Easy to learn, based on Entities and Components, the later being class-like objects that entities inherit.
Has open function binding systems, allowing easy creation of custom components.
Pro Mouse events built-in
All objects/graphics have a mouse events like MouseClic MouseDoubleClic MouseDown MouseUp MouseOver MouseMove MouseOut
Pro Network support
Lidgren Network Library
Pro Path finder built-in
Uses the A* algorithm or pathfinding
It use a GDI to draw on windows forms. You can use all windows self GUI (controls) for your game like TextBox, Button Label ..., you don't need to install a third party or use an ugly controls.
Con No IDE
If you like having some huge GUI akin to Gamemaker, Unreal, Unity, etc, Crafty is not for you.