Unjumbled, commented code

Discussion and feedback on Construct 2

Post » Mon Jan 07, 2013 4:03 pm

Is there a way for Construct 2 to produce javascript that isn't jumbled (where it is easy to read and decipher)? Also, is there a way for Construct 2 to produce comments directly into the javascript?
B
10
S
2
G
1
Posts: 13
Reputation: 1,476

Post » Mon Jan 07, 2013 4:32 pm

Nope
B
55
S
17
G
9
Posts: 634
Reputation: 9,273

Post » Mon Jan 07, 2013 6:08 pm

For "unjembled" code, don't check the "Minify" export option and you should have plain JS code.

As for your second question could you give more informations on what is it exactly you're trying to achieve ?
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
273
S
100
G
71
Posts: 7,270
Reputation: 76,425

Post » Mon Jan 07, 2013 6:30 pm

even if minify is not activated, the code is still awful to read and uncommented.

There's probably not much Scirra could do about that however as (I think) from the start it was never the intention for the exported code to be readable or editable.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,644


Return to Construct 2 General

Who is online

Users browsing this forum: BackendFreak, Digitalarray, Solomon, Tokinsom and 6 guests