Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
Note: The recommended way to use Haxegon is to install it via haxelib:
haxelib install haxegon
Haxegon folder structure has changed, to better support packed textures and make it look less scary to beginners. Fonts, Icons and graphics now all go in the data/graphics/ folder, while music and sound effects now both go in the data/sounds/ folder.
Support for packed textures! Simply place the xml file in the data/graphics directory. No code changes needed.
Images can be drawn without having to manually load them in first. They first time you draw them, they're loaded in.
Added two new functions to extend the core loop:
Core.callfunctionafterupdate(f:Function) // Name a function to be called after update() in every scene
Core.callfunctionafterrender(f:Function) // Name a function to be called after render() in every scene
This was required for compatibility with my own projects!
Added a variable to enable/disable the Starling Stats Display, showing FPS, memory use and draw calls.
Core.showstats = true; //Set true to display FPS and stats
Added two new mouse functions, the mouse equivalents of
Mouse.leftdelaypressed(delay:Int) // Returns true every "delay" frames.
Mouse.rightdelaypressed(delay:Int) // Returns true every "delay" frames.
- Fixed a bug where the screen texture was getting created twice at startup.
- Fixed a bug with core timing. (thanks, @randomnine!)
Gfx.imagealpha()can now be called without any arguments.
- Restored older, simpler