Export to Lua/Corona

Discussion and feedback on Construct 2

Post » Sat Oct 22, 2011 9:57 pm

How about an export option to generate codes targeting a specific platform, for example

- Lua/Corona
- Javascript/Unity
- Lua/Love2D

etc.
B
1
G
1
Posts: 4
Reputation: 433

Post » Sat Oct 22, 2011 9:59 pm

Why? What do the other platforms offer as benefit? HTML5 runs on practically anything and modern browsers have fast javascript engines and hardware accelerated rendering - that's pretty hard to beat IMO!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Oct 22, 2011 9:59 pm

The idea is to rapid-prototype the game in "Construct 2" (which I love so much) and the instead of throwing away, start to make the game complex (which will be incrementally be tougher to do in event sheet) with proper programming codes.
B
1
G
1
Posts: 4
Reputation: 433

Post » Sat Oct 22, 2011 10:00 pm

Events cannot be translated in to any remotely useful code that you'd want to read or use. So you really are better off rewriting it from scratch in other tools (but of course it will take you a lot longer!)
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Oct 22, 2011 10:02 pm

Thanks for the reply.
Do I (may be in Pro version) access to the generated JS/HTML5 code, by any chance.
B
1
G
1
Posts: 4
Reputation: 433

Post » Sat Oct 22, 2011 10:06 pm

I'm yet to play around with FireBug for this. But before doing this, is there any recommended option to take the JS/JQuery code to manually edit rather than through "Construct 2", after the game prototyping reached to a defined state?
B
1
G
1
Posts: 4
Reputation: 433

Post » Sat Oct 22, 2011 10:15 pm

The best way is to extend Construct 2 with the Javascript Plugin and Behavior SDK. The Javascript and HTML5 code is all there for you to look at after you click Export, but it's not in a format that it is easy to edit yourself. It's best to use the SDK to get custom javascript in to C2.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Construct 2 General

Who is online

Users browsing this forum: TheRealDannyyy and 14 guests