md-haxebinding icon indicating copy to clipboard operation
md-haxebinding copied to clipboard

OpenFL compatibility

Open itavero opened this issue 11 years ago • 7 comments

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.

itavero avatar Jul 19 '13 08:07 itavero

@jgranick and others: Can you validate the changes I've made before I open up a PR?

itavero avatar Jul 23 '13 11:07 itavero

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?

jgranick avatar Jul 23 '13 17:07 jgranick

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.

itavero avatar Jul 23 '13 17:07 itavero

ping @jgranick

itavero avatar Aug 08 '13 10:08 itavero

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

itavero avatar Aug 08 '13 12:08 itavero

Worked like a charm, thanks a million!

bsortuser1 avatar Aug 12 '13 08:08 bsortuser1

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.

bradparks avatar Jan 09 '14 01:01 bradparks