When comparing HaxeFlixel vs PlayCanvas, the Slant community recommends HaxeFlixel for most people. In the question“What are the best 2D game engines?” HaxeFlixel is ranked 26th while PlayCanvas is ranked 68th. 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 Real-time collaborative online editor tool
PlayCanvas has an online editor that lets you build scenes and work with other people in your team in real-time. This is all done through the web browser without having to install any additional software.
Pro Powerful assets pipeline
Assets and content delivery is very different on a web platform comparing to native. So PlayCanvas challenges best practices to allow developers decide how their content is delivered and in what form.
Async Assets download allows developers to load content as the app goes, instead of asking to download all assets in advance risking users to simply navigate away while staring at loading screens.
Formats for 3D models and textures support covers all the popular tools. And the workflow is as simple as dragging and dropping your files right into the Assets Panel. The cloud will do the rest of the hard work optimizing and converting your files into runtime-friendly and compressed data.
Pro Rendering engine runs on the browser
Has an advanced WebGL renderer that runs in the browser.
Pro Avoids having to download lots of textures for lightmaps
Lightmaps are an efficient way to deliver lighting to your scenes for a long time. But they come with the cost of large textures. PlayCanvas offers a unique solution for a web platform, it renders lightmaps when an app is loading in runtime.
This is faster than downloading MBs of textures. And it's much more convenient: simply switch your light sources to bake, and static models to be lightmapped, and the engine will do the rest.
Pro Friendly and active community
PlayCanvas has Feed as homepage for registered users, listing Dev Logs of other developers. This allows to socialize with other developers like yourself in a twitter-like environment.
More to that, there is also an active forum, where developers help each other to solve their challenges.
Developers of PlayCanvas itself are always looking forward to chat and help the community with any problems that may arise.
Pro Integrated physics engine
PlayCanvas lets users integrate physics in their game rather easily, using the powerful Bullet Physics Engine (ammo.js). Should also be noted that the physics engine is delivered as an optional library, so by default being disabled it does not add any extra download size to your apps.
Pro Has a free tier
Engine is free for projects under 200MB and with no more than 2 people on a team. The free tier has no engine restrictions.
Tools are totally free too. There are no special limiting features behind any paywalls, and free users have all the features as paid users.
There are no royalties associated with publishing your apps and games - you've made them, you own them.
It is free to publish to playcanvas.com as well, just by one click in Editor.
Pro Cross-platform support
PlayCanvas lets you build games that run in mobile, desktop browsers, and native mobile apps. PlayCanvas can even make games that can run inside mobile social media and instant messenger clients like Twitter and WhatsApp.
Pro Small app size
The engine itself weighs just under 150Kb, and it's always challenged to stay small. There is no extra weight that has to be carried with your app, just your assets and scripts in a runtime-friendly compressed form.
This allows users to engage with your content in matter of seconds, and even just under a second on a good connection.
Pro Open source
PlayCanvas is fully open source and is under active development.
Pro Very easy to use
Pro Loads extremely fast
Pro Has hot code reloading
Real-time link between your launched app and the editor allows the developer to preview and play with their scene without needing to refresh the game after every change in the code to see the updated result.
Con Small community
HaxeFlixel devs are not as large as (example) Unity devs, so the amount of support and exposure is limited.
Con Private projects are only available for premium users
The free tier does not support any private projects. Instead, all the code and assets will be hosted openly. While not a problem for open source games and for developers who intend to make an open source game, it can be a deal-breaker for teams who want to keep their code and assets private.