2 ms·
Pixi.js has been a lifesaver for generating interactive art/data pieces since the death of AS3, which used to be my main bag. I remember messing around with HaX
by noduerme 5y ago
Pixi.js has been a lifesaver for generating interactive art/data pieces since the death of AS3, which used to be my main bag. I remember messing around with HaXe ten years ago or so, the main problem being most of the fl. graphics APIs were not ported at that time and the idea of rewriting my own GUIs and game engines built on those didn't make much sense. I'm not sure it does now, either. If this had a 1:1 naming system, e.g. Sprite and Graphics and Stage, I'd be all in. But so much of my 2D game code was based on extending Starling atlases, etc. and now that's all dead. I'd be afraid to invest the time needed to port it to a relatively exotic and not so well known framework... which still requires a well maintained VM to run.
- tkp 5y agoHeaps has it's own API, but other Haxe frameworks[1][2] reimplement the flash API. Some tools[3][4] help to convert AS3 source code to Haxe, and the typing and compiler are helpful to identify issues. So depending on the size and dependencies, conversion can be easy once you get past the main language differences. [1] https://www.openfl.org/ https://www.openfl.org/ [2] https://github.com/haxenme/NME https://github.com/haxenme/NME [3] https://github.com/HaxeFoundation/as3hx https://github.com/HaxeFoundation/as3hx [4] https://github.com/innogames/ax3 https://github.com/innogames/ax3