XNA Exporter tool (WIP)

Show us your completed creations made in Construct 2

Post » Mon Apr 23, 2012 4:28 am

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 YouTube.juantar2012-04-23 04:29:57
B
26
S
7
G
3
Posts: 118
Reputation: 4,264

Post » Mon Apr 23, 2012 4:40 am

Nice
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.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Mon Apr 23, 2012 5:58 am

wow, just wow...

I wonder this should to be second exporter for C2
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Mon Apr 23, 2012 7:24 am

Neat!
can't wait to see this.
B
20
S
5
G
4
Posts: 61
Reputation: 3,165

Post » Mon Apr 23, 2012 8:05 am

omg!!!
good job! :D
B
19
S
3
G
5
Posts: 98
Reputation: 4,647

Post » Mon Apr 23, 2012 9:11 am

That's really amazing!!!!
B
106
S
27
G
8
Posts: 209
Reputation: 12,525

Post » Thu May 10, 2012 4:56 pm

This is looking awesome. I hope you get the help required to finish this awesome exporter!
B
45
S
8
G
4
Posts: 414
Reputation: 6,805

Post » Thu May 10, 2012 11:56 pm

No idea how I missed this before, but wow, really looking forward to any progress you make with this. Best of luck!
B
22
S
6
G
10
Posts: 118
Reputation: 8,005

Post » Fri May 11, 2012 12:41 am

Very good! Looking forward for improvements!
B
30
S
6
G
5
Posts: 433
Reputation: 6,061

Post » Mon Sep 10, 2012 6:46 pm

Hey there, sorry about the bump, but are there any news regarding this exporter? ;]
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 4 guests