When comparing Torque 2D MIT vs HaxeFlixel, 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 HaxeFlixel is ranked 24th. 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 Powerful language
Haxe is a powerful, cross-platform and open source language.
Pro 75+ demos
All demos have included GitHub link, so you can learn from the examples
Pro Getting started guide
Has a starting guide for people who are completely new to HaxeFlixel; from installing Haxe to a beginner-friendly HaxeFlixel tutorial.
Pro Uses Haxe
(excerpt from source): To help you do this, the (Haxe) toolkit contains three main components:
the Haxe Language - a modern high-level, strictly typed programming language
the Haxe Standard Library - a complete cross-platform standard library
the Haxe Compiler - an incredibly fast cross-compiler
Pro Fully free
HaxeFlixel is fully free and open source.
Pro Hardware accelerated rendering on native platforms
Pro Active development community
(excerpt from source):
There is a multitude of channels to interact with the community:
Our google groups forums
#haxeflixel on IRC (freenode.net)
@HaxeFlixel on Twitter
The HaxeFlixel organization on GitHub
The HaxeFlixel page on IndieDB
Join our development chat on Slack[1]
HaxeFlixel group on Steam
Pro Powerful debugger overlay
You can watch variables, log (trace) messages, and check for memory/frame rate performance.
Pro Modelled after Flixel
But with considerable improvements -- the HaxeFlixel team are constantly working improving and fixing the HaxeFlixel API, as compared to the original Flixel which is no longer updated.
Pro Easy 2D game development
(Haxe)Flixel does a lot of things for you like tilemaps and collision detection, which makes it super easy to create 2D games.
Pro Outstanding community
The HaxeFlixel team and contributors are very active on Github and other community places (like Slack), and are usually able to respond to your questions within a day or two.
Pro Similar syntax to Actionscript 3
Haxe's syntax is similar to AS3, so Flash developers can transition to HaxeFlixel if they are familiar with AS3/Flixel.
Pro Excellent, robust API
The API has all of the features that you'd expect from a powerful engine without sacrificing organization and flexibility
Pro Cross Platform
The open source Flash API is powered by OpenFL, which allows you to compile to Windows, Mac, Linux, iOS, Android, and even major consoles (coming soon).
Pro Cross-platform IDE environment
On Windows, the IDE of choice is FlashDevelop, but if you're looking for cross-platform IDE (Windows/Mac/Linux), there's Sublime Text which includes a package for Haxe syntax highlighting, as well as auto-completion.
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 Small community
HaxeFlixel devs are not as large as (example) Unity devs, so the amount of support and exposure is limited.