HaxeFlixel

Create cross-platform games easier and free. All with one codebase.

What is HaxeFlixel

HaxeFlixel is an open-source 2D game engine for creating games across multiple platforms. Built on the Haxe Toolkit and Open Flash Library, it offers seamless development for native mobile and desktop targets, as well as Flash and HTML5 for web platforms.

HaxeFlixel Features

  • Display: Utilizes the FlxSprite class for visual elements, allowing for easy manipulation of spritesheet animations and shapes. The FlxGroup class aids in layering and collision detection, while the FlxCamera class manages scrolling, zooming, and visual effects.

  • Audio: Features a straightforward sound frontend for playing sound effects and looping music clips, with flexible volume control options.

  • Input: Supports multiple input methods, including mouse, touch, keyboard, and gamepad, with built-in mappings for popular controllers like Xbox and PS4.

  • Multi-platform Support: Builds games for Windows, Mac, Linux, Android, iOS, and the Web, leveraging OpenFL’s cross-platform capabilities.

  • Advanced User Interface Support: The flixel-ui add-on library allows for the creation of complex UIs using XML configuration files, with support for various control types and text localization.

  • Visual Effects: Includes an effects library for sprite warping and distortion, as well as built-in support for 2D particle effects and camera effects like screen flashes and shakes.