0 Favourites

XNA Exporter tool (WIP)

  • I am working on a XNA exporter for construct2. So far I was able to make it convert one small (very small) game with one layout and about 10 events. The game does the very basics (8-dir movement, creating objects runtime, destroying objects, checking collisions).

    The tool reads a capx file and transalates its layout, events and project xml files into C# code. The C3 code uses the FlatRedBallengine which sits on top of XNA and works for PC, XBOX and windows phone. To do this, I had to implement the C2 methods and events in XNA; right now I have only implemented the ones used in the demo game (testxna.capx). Hopefully there are C# developers out there who would like to contribute and re-write or at least pseudo translate the plugins and behaviors from javascript into C#/XNA. If requested, I can create a project in codeplex to allow others to contribute to the code.

    The generated C# code is placed into a project chosen by the user. The folder must be however a template project that contains the C2 implementation I have so far.

    The zip can be downloaded here, look for the zip file named "XNAExporterTool.zip". This zip file contains 3 zip files:

    1. XNAExporterTool.zip: the Visual Studio project of the actual converter tool.

    2. XNAWindowsPhoneTemplate.zip: the zip file of the Windows Phone template.

    3. XNADesktopTemplate.zip: the zip file of the XNA Desktop template.

    Right now, the tool is not very useful for end-users. There are two reasons for this: the tool is in Visual Studio project form, so it is meant for people with a background in C# and a little on XNA who want to take a look at what I have so far and decide if they want to contribute or not. The second reason is that the events and actions I have implemented so far will probably not be enough for your game. If enough people are interested in contributing, I can create better documentation and the project at CodePlex. If not, I will still work on implement more events and actions in XNA.

    You can see a video of the converted game and the tool in

    .

  • Nice <img src="smileys/smiley1.gif" border="0" align="middle" />

    Keep up the good work Juantar, this is pretty good !

    I can't say I'm personnaly waiting this, but it's nice to have always more possibilities with C2.

  • wow, just wow...

    I wonder this should to be second exporter for C2

  • Neat!

    can't wait to see this.

  • omg!!!

    good job! :D

  • That's really amazing!!!!

  • This is looking awesome. I hope you get the help required to finish this awesome exporter!

  • No idea how I missed this before, but wow, really looking forward to any progress you make with this. Best of luck!

  • Very good! Looking forward for improvements!

  • Hey there, sorry about the bump, but are there any news regarding this exporter? ;]

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Sorry for the re-bump ...

    But will we able to export games to Xbox Shop with this exporter

  • I stopped working on it because it seems that Microsoft is going to kill XNA sometime soon (year or so). They do not support XNA on Win8 on ARM and will not support it in Windows Phone 8. I own a winphone7 but do not own an xbox. Since the WP7 will pretty much be obsolote in October, I decided it was not worth my time and effort to continue working on it :( . The source code is still there if somebody want to take a stab at it.

  • That's a very wise but sad decision.

    As much as another exporter sounds like a good thing, I never did like XNA much, and I'm somewhat glad that Microsoft will end support for it.

  • Holy crap! Keep this up! wow!

  • sinistar99 I don't think he will. As he just mentioned a few posts ago..

    stopped working on it because it seems that Microsoft is going to kill XNA sometime soon (year or so). They do not support XNA on Win8 on ARM and will not support it in Windows Phone 8. I own a winphone7 but do not own an xbox. Since the WP7 will pretty much be obsolote in October, I decided it was not worth my time and effort to continue working on it :( . The source code is still there if somebody want to take a stab at it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
257 18,862
nav's avatar
nav
Unread hot topic
157 20,453
eleanorawesome's avatar
eleanorawesome
Unread hot topic
126 15,930
Nathanial's avatar
Nathanial