# HaxeFlixel

Haxe and OpenFL framework for code\-driven 2D games\.

ID: Q732 · Revision: 780

Type: software · License: MIT; dependencies, optional integrations and game assets have their own terms\.[^license] · Status: active

Website: https://haxeflixel.com/



HaxeFlixel is an open\-source 2D game framework built on Haxe and OpenFL\. Developers organize gameplay in code using states, sprites and related engine classes, then build for supported desktop, mobile or browser targets\. It is a candidate for teams that prefer a programming\-led 2D workflow rather than assembling a project primarily in a visual scene editor\.[^about][^state][^targets]

## Capabilities and substitutions

### State\-based 2D gameplay — supported

FlxState separates levels and menus; create initializes objects and update handles recurring gameplay logic\.[^state]

Use case: Building code\-driven 2D games with Haxe · Platforms: Windows, macOS, Linux, Android, iOS, Web · Region: Version, build and integration requirements apply

### Multiple deployment targets — limited

Desktop, mobile and HTML5 targets are documented, but native SDK setup and target\-specific verification remain necessary\.[^targets][^install]

Use case: Building code\-driven 2D games with Haxe · Platforms: Windows, macOS, Linux, Android, iOS, Web · Region: Version, build and integration requirements apply

### External level\-editor integrations — limited

The optional flixel\-addons library documents Tiled and Ogmo integration; these are additional dependencies rather than the core editing workflow\.[^addons]

Use case: Building code\-driven 2D games with Haxe · Platforms: Windows, macOS, Linux, Android, iOS, Web · Region: Version, build and integration requirements apply

### [Substitute for Godot](/godot) — limited

Assessment: substitutes for the code\-driven 2D game\-development portion of Godot when a Haxe/OpenFL workflow is acceptable\. Godot scenes, scripts and editor workflows require redesign rather than assumed direct project conversion; this does not establish a replacement for Godot's 3D tooling\.[^about][^state][^godot]

Use case: Building code\-driven 2D games with Haxe · Platforms: Windows, macOS, Linux, Android, iOS, Web · Region: Version, build and integration requirements apply

## References

[^about]: [HaxeFlixel overview](<https://haxeflixel.com/documentation/about/>) — Framework foundations and features (vendor; retrieved 2026-10-07T19:33:17Z)

[^state]: [FlxState](<https://haxeflixel.com/documentation/flxstate/>) — State organization; create, add, remove and update (vendor; retrieved 2026-10-07T19:38:18Z)

[^targets]: [HaxeFlixel targets](<https://haxeflixel.com/documentation/haxeflixel-targets/>) — Desktop, mobile, HTML5 and SDK setup (vendor; retrieved 2026-10-07T19:38:18Z)

[^install]: [Install HaxeFlixel](<https://haxeflixel.com/documentation/install-haxeflixel/>) — Dependencies, target setup and flixel\-tools (vendor; retrieved 2026-10-07T19:38:30Z)

[^addons]: [Flixel Addons](<https://haxeflixel.com/documentation/flixel-addons/>) — Optional classes and editor/physics integrations (vendor; retrieved 2026-10-07T19:38:30Z)

[^license]: [HaxeFlixel MIT license](<https://github.com/HaxeFlixel/flixel/blob/dev/LICENSE.md>) — Permission, notice and warranty provisions (vendor; retrieved 2026-10-07T19:38:30Z)

[^godot]: [Godot features](<https://godotengine.org/features/>) — Scene\-driven design, integrated editor and dedicated 2D engine (vendor; retrieved 2026-10-07T19:33:17Z)

Source revision: https://substitutefor.net/entities/Q732?revision=780
