Actionscript 3 vs Haxe: Which to chose for new Flash project?

前端 未结 5 1046
野的像风
野的像风 2021-01-31 09:44

I am in the planning stages of a new Flash game project and was wondering which language would be better to use? I already have a strong understanding of Actionscript 3, and hav

5条回答
  •  别跟我提以往
    2021-01-31 10:11

    1) You can include one swf library (instead of a swc) while compiling using the -swf-lib compiler argument and if you need more than one lib you can merge multiple using the swfmill tool. There's an example of this in the Haxe docs.

    2) Branden answered this one perfectly :) Although I might add that one feature that does improve performance, in flash applications especially, is "inlining". Since Nicolas (the creator of Haxe) added even more byte code optimizations on inlined functions. And there's also even more of those optimizations planned.

提交回复
热议问题