More than just the HTML5 exporter?

Discussion and feedback on Construct 2

Post » Wed May 10, 2017 2:26 pm

Hello, out of curiosity is it possible to add more exporters than the standard HTML5 one? I ask because of the existence of the exporters folder in the installation directory. This seems to me like it was intended to be a feature, but was never expanded into one because of the ever increasing support for web technologies. Has anyone looked into this and/or experimented a little? I would be very interested if this is something that could be extended.

Kind Regards,
Briggs
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446

Post » Wed May 10, 2017 3:23 pm

Good question. Never have thought about this. I'm interessted in this, too ;)
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,099
Reputation: 27,670

Post » Wed May 10, 2017 3:29 pm

Well there's this thing called C3.
Im pretty sure that cancels out any plans for further C2 development.
Image ImageImage
B
168
S
50
G
164
Posts: 8,227
Reputation: 105,573

Post » Wed May 10, 2017 3:42 pm

Scirra is sticking to their plans on Construct 2 and Construct 3: All exporters will be HTML5 + wrapper based for the long-term ahead.

There was talk very early in the development of Construct 2 for other exporters way back when it was starting (which is why HTML5 is in a folder called "exporters" in your Construct 2 folder), but that was cancelled equally long ago.
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit
B
113
S
39
G
17
Posts: 2,184
Reputation: 19,217

Post » Wed May 10, 2017 4:15 pm

As far as I know, C2 is designed for exporting Javascript only. Also all plugins/behaviors are written in Javascript. Javascript is a highly dynamic language, means that for example a variable can take a number or a string at runtime. This isn't possible in language like C or C++. In this languages a variable is bound at compile time to a distinct type like string, float, integer ....
So it's very hard to translate Javascript to C or C++ , the other way around is possible.
So if you want other exporters you have to rewrite Construct.
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Wed May 10, 2017 4:30 pm

The way it looks is that the exporter system was originally designed to be modular, but just so happened to end up that we only get one, admittedly very robust, module. I think I'm correct in saying that the entire run-time is included in the exporter; it is not unimaginable to create another exporter which recreates this run-time in a different environment. This would be a large undertaking and I'm not expecting anyone to actually do it. Although the option to have community sourced exporters could be a great benefit.

Kind Regards,
Briggs
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests