When comparing Crafty.js vs Twine, 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 Twine is ranked 38th. The most important reason people chose Crafty.js is:
Easy to learn, based on Entities and Components, the later being class-like objects that entities inherit.
Specs
Ranked in these QuestionsQuestion Ranking
Pros

Pro Eventbinding
Easy to learn, based on Entities and Components, the later being class-like objects that entities inherit.

Pro Javascript
Pro Modular
Has open function binding systems, allowing easy creation of custom components.
Pro Easy to understand
The basics are very easy to grasp, and you can have a basic story up in minutes.
Pro Free for commercial projects
Twine is based on a GPL licence. You are free to download, modify and publish derivatives - even commercially.
Cons
Con No IDE
If you like having some huge GUI akin to Gamemaker, Unreal, Unity, etc, Crafty is not for you.
Con Limited to interactive fiction
Twine is specialized to decision-based interactive fiction. Under the hood, a Twine game is just a flowchart for page transitions; the only way to add more complex behavior is to code it from scratch in JavaScript.
