When comparing HaxeFlixel vs Oxygine 2D C++ Game Framework, the Slant community recommends HaxeFlixel for most people. In the question“What are the best 2D game engines?” HaxeFlixel is ranked 16th while Oxygine 2D C++ Game Framework is ranked 24th. The most important reason people chose HaxeFlixel is:
[Haxe](http://www.haxe.org) is a powerful, cross-platform and open source language.
Ranked in these QuestionsQuestion Ranking
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
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.
Pro Games can be built as HTML5 applications
Most interesting is ability to build C++ Oxygine application for Web via Emscripten. So you write C++ code and it will compile it to HTML5/JS.
Pro Will be familiar to users of ActionScript3/Flash API
If you are familiar with ActionScript3/Flash API, then you will find it easy to begin working in Oxygine. Oxygine is much like Flash in C++, as its Event Handling model is very close to that of ActionScript 3 and SceneGraph.
Pro Easy to use C++ API with optional C++11 features
Oxygine is written in C++. It provides easy to use API, which is designed with "do more with less code" philosophy. It uses a managed scenegraph system that takes care of rendering and updates, and provides ability to extend with custom rendering and updates.
Pro Free, open source and cross-platform
Oxygine is a free framework that works on OS X, Windows, Linux, iOS, Android, HTML5. It's licensed under MIT with source code available on GitHub.
Pro Functionality can be extended with a bunch of available extenions
All of them available publicly at github.
- oxygine-movie for playing Theora movies with alpha channel
- oxygine-sound player for ogg sound/music with streaming
- oxygine-freetype library
- oxygine-billing for in-app-purchases on Android/iOS
- oxygine-spine for playing Spine animations
- oxygine-magicparticles for playing particles made with MagicParticles
It's very rare to experience bugs with Oxygine.
Pro Allows playing movies with alpha channel
Using oxygine-movie extension for Oxygine you could play in your game any videos encoded with Theora codec.
You movie could have alpha channel and used as simple sprite instead of classic spreadsheet animations.
Pro Allows for flexible contol over draw processes
Con Small community
HaxeFlixel devs are not as large as (example) Unity devs, so the amount of support and exposure is limited.
Con Not many tutorials available
There are not many tutorials available that teach developers on how to make a game with Oxygine from scratch. Because of this, it may be harder to pick it up or to start learning game development by using this engine.
Con Little community support
Oxygine is a young framework. It was first released in 2013 and has yet to gather a large community. As of February 2016, the forum had just 123 members.