When comparing Torque 2D MIT vs Defold, 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 Defold is ranked 21st. 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 Easy to learn
Defold uses Lua, which is regarded as an easy to learn language by most.
Pro Completely free of charge
Software and online dashboard are free of charge.
Pro Good combination of visual editing + code (Lua)
You can do a lot with drag and drop, but you're not limited -- the code (Lua, which is easy to learn) allows you more power than just visual editing usually gives you.
Pro Fast results
Going from idea to result is very important for the creative process.
Pro Visual editor
Pro Very performant
Being crossplatform it is important to work on low end devices.
Pro Easy and fast export for various platforms
Pro Great community
A very active and friendly community in forums.
Pro Source code available
You can download and modify the source code of the Editor and the engine for free.
Pro Collaborative
You can invite friends from the dashboard and create games together.
Pro Hot reload
It allows you to change scripts in a game while it is running live. Common use-cases is to tweak gameplay parameters or to perform debugging on a running game.
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.