Description
HaxeFlixel is a free, open source 2D game engine written in Haxe. You write one codebase and compile your game natively to several platforms. The engine is built on OpenFL, the Flash-style API for web, desktop and mobile, and on Flixel, the library whose design it inherits. The site includes 79 demos, a snippets section, a showcase of games made with HaxeFlixel, a blog and an API reference. The getting started guide covers installing HaxeFlixel, a hello world program and setup in Visual Studio Code. A step-by-step tutorial builds a game from scratch and covers sprites and animation, tilemaps, zoom and cameras, pickups, enemies with basic AI, UI and combat, a game over menu and sound. The project is developed on GitHub and has a forum and a Discord server. It is supported by platinum and gold sponsors.…
Highlights
- Compile one codebase to several platforms
- 79 demos to learn from
- Step-by-step tutorial from setup to game over menu
- Showcase of games made with it
- Free and open source
Ratings & Reviews
No ratings yet
Be the first to rate Haxeflixel.
People also visit

FlatRedBall
Cross-platform 2D game engine focused on ultimate productivity built in .NET
Haxeflixel FAQ
What is HaxeFlixel?
A free, open source 2D game engine written in Haxe. It lets you create games for several platforms from one codebase.
What language do I need?
HaxeFlixel is written in Haxe, and games are written in Haxe as well. The site has a getting started guide and a hello world example.
Is there anything to learn from?
Yes. The site has 79 demos, snippets, a tutorial and an API reference, plus a showcase of games made with HaxeFlixel.
Is HaxeFlixel free to use?
Yes. The engine is free and open source, and development is on GitHub. Sponsors support the project.
What are the best Haxeflixel alternatives?
Popular alternatives to Haxeflixel include Flax Engine, FlatRedBall and Godot. See all Haxeflixel alternatives

