-
Notifications
You must be signed in to change notification settings - Fork 6
Debugging
Trace is a Haxe build-in function. More info: http://haxe.org/doc/cross/trace
In FlashDevelop you can add breakpoints by clicking on the left side of a linenumber in the editor and choose 'test project' (blue play-button in top bar). Note that to debug from within FlashDevelop, your browser needs the Flash debug player.
For debug purposes it could be very useful to use debug conditional compilation tags.
To check if your game still runs in 60 fps, you can use the FpsDisplay
, which displays the current framerate. You need a font to display it.
var font:Font = new Font(pack, "myFont");
var fpsMeterEntity = new Entity().add(new TextSprite(font)).add(new FpsDisplay());
System.root.addChild(fpsMeterEntity);
- Remote debuggers: http://jsconsole.com/remote-debugging.html
- Non-remote debuggers: https://github.com/markknol/console-log-viewer/
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