Blog

Des billets et experimentations Haxe, NME, openFL, Flash, HTML5 et mobiles

Signals, Haxe macros inline dispatch and my turtle "Fabienne"

19.06.2013 3703 4

I never liked events...
I'm not writing about events that my friends organized and where many naked girls under narcotics did weird things with their anatomy, no.

Lire la suite

FlashDevelop Start Page plugin

16.06.2013 3131 0

fdrpojman

I hate the FlashDevelop Start Page that opens sometimes I don't know when and why...
In fact it's all my fault. There is a well done settings panel where you can customize many things and especially the Start Page, but I haven't really taken time to look at this quitely, I have not time...
All that to say that some days ago I've seen that there are some kind of extra methods allowed for the browser engine like displaying the last FD release version, create a new project or open a project...This last gave me an idea .

Lire la suite

Haxe extern keyword and modular applications

19.12.2012 4436 0

I have often worked on huge applications, which need to be explosed into modules. It permits, in particular, to maintain easily the whole applications, working on separated modules that can share a common core base.
The thing is also not to duplicate code, neither in the source or in the generated output.
And for now more than 6 years that I work with Haxe, I use the famous extern keyword to achieve my goal.
Things change, and Haxe 3 comming soon, there are new semantics on extern classes which forbid some useful things that were permitted using Haxe 2.10 or less.
But as the fashion is on macros nowadays, and as it says :"There's a macros for that !", let's see how to get the same behaviour as before using Haxe 3.

Lire la suite

Flash, Haxe, NME, SWHX - Web, Desktop, Mobile : Everywhere, do what you want !

05.12.2012 4552 0

I come back again with an old stuff...
All that began when looking at my incredible website ( ), I rememebered that the menu, on the top right of the page, was written for the Flash plateform. And I know that nowdays, to be up-to-date, you have to work with HTML5 !
Ok, no problem for me... As the title of the post suggest : I work with Haxe and I can do what I want !

Lire la suite

BloHx : From Flash to NME to Windows/ OSX/ Linux/ Android/ iOS/ Blackberry/ HTML5...

23.11.2012 4645 1

Long time ago I rewrote in Haxe a little game called Blocky
I wrote this game quickly as a sample for an old lib I used to write and some mothes ago I decided to rewrite again this ununderstandable () game, first to update it for the last haxe's version, still targeting only Flash and then using NME to target Windows, OSX, Linux, Android, iOS, Blackberry, HTML5...That's enough for now
Let's see how to make an existing Haxe Flash game working as a native desktop or mobile device's application or export it in HTML5 for any browser.

Lire la suite

Haxe 3 : Get ready

31.10.2012 2522 1

Since the Haxe 2.10 RC on June 2012, you can test some new features that will be implemented in the next Haxe 3.0 release that should come on December on January 2013. Maybe for Christmas ?
In order to follow all changes and become more familiar with the new features I work with Haxe Nightly Builds. Let see how does it look like and how start form now using Haxe 3 new features.

Lire la suite

Simple socket cross-domain policies Neko server

28.10.2012 3027 0

In a previous post it was question about Flash Player security and we've seen that we need a cross-domain policies server in order to connect a socket on another domain.
We gonna see how to quickly write this kind of server using Neko, that is one of Haxe's "server side" plateform. It means that common Haxe "client-side" developers as flash, javascript or NME developers can easily write their servers using the same language. Quite a good thing, isn't it ?

Lire la suite

Flash Player security and application domains summary

12.10.2012 3716 2

This post will try to help you to understand what's going on behind the scene inside the Flash Player when playing with loading and sharing external data or connecting remote servers. It's a summary of differents security strategies and architechtural cases that can be applied to a project.

Lire la suite

Haxe & NME Collections Benchmark

06.10.2012 2498 0

In order to test which type of collection I should use in differents cases, I wrote a simple little benchmark that can be used both on Flash or all NME targets. Here comes my personal results (ms)

Lire la suite

Qu'est ce que NME ?

21.08.2012 2046 0

Dans la continuité de la philosophie de Haxe, qui se veut être un langage universel web et avec l'avènement de nouvelles plateformes de développement comme les mobiles (iOS, android, webOS, BlackBerry...) et le HTML5, il est apparu un autre O.V.N.I appelé NME. Voici une brève présentation de ce nouvel outil...qui n'est d'ailleurs pas si "nouvel" que ça .

Lire la suite
×