md-haxebinding
md-haxebinding copied to clipboard
OpenFL compatibility
The plug-in currently does not support the OpenFL build commands (for example: it still requires a *.nmml file, however OpenFL has switched to *.xml for build configurations).
PS: I don't think Haxe 3 is fully supported either, at this point in time.
@jgranick and others: Can you validate the changes I've made before I open up a PR?
I'm not set up to recompile the plugin, but it looks good from here. I wonder if it should be NME and OpenFL, or if it should only support OpenFL from now on? I suppose it could go either way. OpenFL does support both NMML and XML project files, but for sake of posterity, perhaps its good as-is. I appreciate you looking into this. Is this for MonoDevelop 3, or the new Xamarin Studio 4? Do you think Xamarin Studio would be a good editor to support?
I figured it might be nice to have support for "legacy" projects, but as you have stated, this could be done through OpenFL directly instead of keeping it in the MonoDevelop add-in. @jgranick Which way would you prefer, direct via OpenFL or legacy code in the add-in?
I've only tested it with MonoDevelop 3. I do have Xamarin Studio 4 installed, but I haven't tried it out yet (I heard there were troubles with the auto-completion in the new release?). We're using this on a live DVD in workshops for students (around 13-14 yo), so we need a simple IDE that we can redistribute. I have not yet looked at all the licensing details regarding the new Xamarin Studio, that's the main reason why I'm still using MD.
ping @jgranick
I've created an mpack for the live DVD. Thought I'd put a link to it on here for others who might want this: http://stf.cc/md-openfl
Worked like a charm, thanks a million!
I tried this and it didn't seem to work... I'm using MonoDevelop 3.1.1 on Mac Maverick, and I installed the mpack, but it didn't seem to help... I tried creating a new haxe flash project afterwards, and I still get an error "unknown option: -swf" when trying "run | start without debugging". I'm running the latest revs of all haxe libs, and running haxe 3.0.1.