When comparing Crafty.js vs UDK, 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 UDK is ranked 71st.
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 Large toolset
UDK has an extremely large toolset that allows creating almost anything without having to use a 3rd party tool or plugin.
Pro Triple A track record
UDK is an engine used by many big name companies for popular games such as the Gears of War series.
Con No IDE
If you like having some huge GUI akin to Gamemaker, Unreal, Unity, etc, Crafty is not for you.
Con Superseded by Unreal Engine 4
Con DevKit only runs on Windows
Even though UDK can deploy games to run on multiple platforms, including Mac, it does not feature support for development on Mac.
Con Limits games to FPS
UDK was originally developed for the FPS, "Unreal Tournament", and it certainly shows. While UDK is a very powerful engine, it takes quite a bit of work to make it do something other than an FPS.