My team and I (Vacuum Tube Games) are working on a game powered by Flixel + OpenFL + Haxe. In our efforts to upgrade to later versions we're keeping track of which builds worked for us. Until this point we've been using lime 0.9.7 + openfl 1.4.0 since they came out until now (May 2015).
Normally release builds work fine regardless of the version pair and usually on all platforms (which is awesome!). However, trying to find a stable version pair for our specific use case (debugging on android) has been not-so-awesome. Because of this we have started keeping track of which versions work for our particular game. Further we think this may be helpful to other developers as we are working with a very common stack. We hope that other developers can benefit from our work and save themselves a few hours of "misses" in their attempt to sink the perfect version set. If you have any comments, questions, improvements, or requests, don't hesitate to comment! This is very much a work-in-progress.
Our Haxe compiler version for these tests: 3.1.3 (latest stable)
Besides the obvious, the relevant haxelibs we are compiling against:
haxelib | version |
---|---|
flixel | 3.3.8 |
flixel-ui | 1.0.2 |
hxcpp | 3.2.102 |
There are a few more, but they're mostly noise/deprecated packages we haven't removed yet (and don't affect lime/openfl compat).
Last but not least the typical device I run these builds on is a Nexus 7.
- For each build I make sure the haxelib versions match the set I am testing (I have written some automation to do this)
- Manually clear the apk from the device
- Manually delete the ./Export/android directory
- Then, build and run with the device plugged in:
haxelib run openfl build android -debug
haxelib run openfl run android -debug -Dfdb
X - Incompatible
0 - Build tools crash
1 - Compile is broken
2 - Crashes on start
3 - Graphical glitches (text)
4 - Crashes when launched via OS
5 - Works
Note: lime versions are columns (X axis), openfl versions are rows (Y axis)
openfl\lime | 0.9.7 | 1.0.1 | 2.0.0 | 2.1.3 | 2.2.0 | 2.2.1 | 2.2.2 | 2.3.0 | 2.3.1 | 2.3.2 | 2.3.3 | 2.4.1 | 2.4.2 | 2.4.3 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1.4.0 | 5 | 5 | ||||||||||||
2.0.0 | 1 | |||||||||||||
2.0.1 | 1 | |||||||||||||
2.1.0 | 3 | |||||||||||||
2.1.6 | 3 | |||||||||||||
2.1.8 | 4 | 4 | 4 | 4 | 1 | 2 | 2 | 2 | ||||||
2.2.0 | 2 | 2 | ||||||||||||
2.2.8 | 2 | |||||||||||||
3.0.3 | 2 | |||||||||||||
3.0.6 | 2 | 0 | 2 | 2 | 2 | |||||||||
3.0.8 | 2 | 2 |