To install the latest stable version of HaxeFlixel, open a command prompt and run the following Haxelib commands:
haxelib install lime haxelib install openfl haxelib install flixel
After the installation is complete, you can compile games to HTML5, Flash and Neko out of the box.
To easily install additional libraries (addons, ui, demos, tools, templates...) in a single step, just run:
haxelib run lime setup flixel
haxelib run lime setup
lime available as a command (alias for
haxelib run lime).
To compile to desktop and mobile targets, you have to make sure you have run the respective
commands. Each are specified in the
Lime "Advanced Setup" docs.
Run the following two commands to install flixel-tools (needed for project templates among other things):
haxelib install flixel-tools haxelib run flixel-tools setup
If a new version of Flixel has been released, and you want to update to it, you can use the following command to do so:
haxelib update flixel
If you wanted to update e.g.
flixel-addons instead, just replace