Haxe Roundup № 215

by Skial Bainn published on

Nicolas will be talking about Haxe at GameDuell on Wednesday 10th September in Berlin, so if you're able to attend, you need to register your interest in going. Also head over to the Haxe mailing list where some people attending the event have started a thread.

In response to a Hacker News question about programming languages which allow types that represent units, Jason replies by showing how Haxe's abstract types can be used to represent units of measurement, by “providing inline, implicit conversion and keeping you from getting your units mixed up”.

Because of Jason's code example, Valentin has started the units GitHub repository which currently provides abstract types for Bit, Byte, Kilobit and the others.

Another library which provides various abstracts is Cauê's geotools repository which provides “dependency-free, straight-to-the-point Haxe geo tools”, which contains units for seconds, minutes, radians and more. It also provides UnixDate and TzDate abstracts.

Heinz has created and released angular.haxe. Heinz describes it as trying “to combine angular.js with the type safety of Haxe as much as possible. The angular API is fully typed and Haxe macros extend the api to support dependency injection based on types instead of unsafe strings”. The README is well written and provides code snippets of angular.js vs angular.haxe.

Daniel, a CSS working group co-chairman of the W3C, is creating a conformant CSS parser and resolver, complete with an implementation of the CSS object model in pure Haxe, which will be open sourced in the future.

Over on the Haxe mailing list the topic of supporting multi line strings came up, with people giving various answers, but Andy Li replies with a macro solution which uses comments and which even supports string interpolation. Pure brilliance.

Mike has created and released UMDWrap which allows you to “Wrap compiled Haxe JS output for use as a self-contained module compatible with the UMD pattern”.

Dario shared on the Haxe mailing list a library he created called Haxdroid, which “converts Android XML UI layout to HaxeUI and brings the Android resource manager to OpenFL”.

Tim has written an in depth tutorial on making a custom preloader for HaxeFlixel, making sure to point out past tutorials are obviously out of date due to the development speed of HaxeFlixel.

Sidar has released a demo of Khapunk which shows full shader support, which is itself a port of HaxePunk using the Kha framework, an alternative to OpenFL and Lime.

Recently, Boyan has been granted access to the IntelliJ IDEA Haxe plugin repository, so he can now push updates and fixes to the official repository which will result in faster releases.

There is another Haxe job posting located in Dubai.

Pozirk Games published the article Loading assets from swf with OpenFL and font embedding which is well written, concise and provides sample source code at the end of the article.

And to finish this weeks roundup, Michael shows a preview of some progress he has been making on his open source projects.

haxe social
Haxe 3D preview by Michael