When comparing Torque 2D MIT vs Duality, the Slant community recommends Torque 2D MIT for most people. In the question“What are the best 2D game engines?” Torque 2D MIT is ranked 4th while Duality is ranked 30th. The most important reason people chose Torque 2D MIT is:
Torque 2D gives developers complete access to the source code. This removes all barriers one may hit when trying to extend and/or customize the engine they are working with.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Extremely extendable and customizable
Torque 2D gives developers complete access to the source code. This removes all barriers one may hit when trying to extend and/or customize the engine they are working with.
Pro Cross platform
Torque 2D runs on Windows, OS X, iOS, Android, Linux, and Web.
Pro The scripting language is quite powerful
Torquescript is a fast and easy to use C++ like scripting language that ties all of the various elements of a project together. It supports a large complement of functions including math, physics, object manipulation, fileIO, and more. Torquescript features:
- Object-oriented programming
- Transparent interconnection with internal C++ objects
- Built-in fast 2D math (vectors, matrices, and quaternions with all corresponding functions)
- Well-documented standard library (hundreds of functions out-of-the box)
- Component system (aka Behaviors)
- Dynamic asset and module loading
Pro Highly performant
The engine utilizes a combination of batched rendering, asset management, and a module system that allows for high frame rates on all platforms.
Pro Box2D physics
Torque 2D MIT's utilizes Box2D for all physics calculations. Anyone with prior knowledge with Box2D by itself or through other engines can easily transfer their knowledge. Nearly all of the Box2D API is exposed to the scripting language, making it a quick process to port games to the engine without having to learn an entirely new system.
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 Project seems to be abandoned
Seems to not be developed/supported anymore.
Con Lacking documentation
The engine documentation is incomplete. Not all of the engine API is fleshed out and the number of tutorials is pretty small. All current and future documentation effort is up to the community, via the Torque 2D MIT GitHub wiki.
Con Rentware
Con Visual Studio required
To have possibility for scripting you have to download entire Visual Studio and spend 10 GB of free space