Skip navigation
Currently Being Moderated

I have a game written in XNA. I need it to be in Flash for a website. Will alchemy help?

Dec 21, 2011 1:15 PM

Tags: #help #flash #swf #format #game #conversion #c# #converter #visual #studio #alchemy #star #xna #defense

I was told that alchemy might be what I was looking for. Essentially, I want to take all my code written in C# on visual studio and convert it to a swf format. Anyone have any ideas on what I could do?

  • Currently Being Moderated
    Dec 27, 2011 12:35 PM   in reply to AnthonyM88

    Alchemy cross-compiles C/C++ code.  It's not the CLR, so you can't run IL languages like C#.


    I suppose if you wanted to get really elaborate you could get mono to work inside of Alchemy ( ! ) and then run your C# inside of that.

    Mark as:
  • Currently Being Moderated
    Dec 28, 2011 10:06 AM   in reply to AnthonyM88

    The mono runtime would be a swf.  The compiled C# code would then be interpreted by mono.


    However, I imagine that this would take quite a bit of effort to get working.  I have no idea how portable mono's codebase is.  And it would also likely be very slow, as you'd have a triple VM: mono's CLR on top of the Alchemy CRT on top of Flash.


    In the end I wouldn't recommend it!

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points