-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Useful guide for Flambe.
Flambe is a Haxe powered 2D game engine that makes cross-platform development actually fun. Spend less time dealing with platform-specific bugs, and more time building great games.
![]() |
|
Restart computer after installation, continue to step 2. |
Download and setup Flambe by running: npm install -g flambe On windows use powershell to run the commandlines. On Mac and Linux, you'll need to run both these commands as root using sudo. Also remember to pass the -g flag to npm install. |
Thats it! You can use Flambe now! |
Create a new project
You can create a new project by running flambe new <directory> |
Build the project
To build it, run flambe build html flash --debug |
Start the project
Run flambe serveto start a webserver, and open http://localhost:7000 in your web browser. The Flash or HTML5 build will run depending on what your browser best supports. The webserver also provides Live asset reloading. |
FlashDevelop | Sublime text | |||
The Project.hxproj generated by
|
Once installed, just drag the root folder of your Flambe project into the Sublime icon, and it will recognize it as a Flambe project. Open a .hx-file and use the Control-Shift-Enter keyboard shortcut on the Mac to select your desired build target. Then, hit Control-Enter to compile. Sublime's Haxe package gives you great auto-completion, snippets and code hinting. |
When you're ready to distribute your game, do a release build by omitting the
--debug
param. Release builds are smaller and faster, but are slower to build
and harder to debug.
Compiling and hacking the demos is a great way to learn by example.
For help on how to perform some common tasks, see other pages in this wiki.
- Want Flambe next to your project? Flambe in custom folder.
- Trouble with installation? Check Troubleshooting.
Documentation guide for Flambe - Targeted to version 4.0+
Flambe | Installation | Demo projects | Showcase | API Reference | Forum
Flambe is MIT licensed and available for free. Feel free to contribute!
- Home / Installation
- Entity / Components
- Core
- Assets
- Publish your game
- Other
- Editors
- Plugins, tools, extensions
- Help
- More Flambe