editing c2runtime

Discussion and feedback on Construct 2

Post » Sun Jan 26, 2014 1:07 pm


Because even if i export blank project script in c2runtime has many text so Its possible to delete some script
Or For example i use tiled background(with solid) sprite (player)
i dont use audio or other plugins

delgado2014-01-26 13:09:11
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Sun Jan 26, 2014 1:52 pm

and second question. If i add comment in event sheet after export this comment disappear from project?
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Sun Jan 26, 2014 4:53 pm

Comments won't disappear from event sheets as long as you save the project. Exporting is independent/separate of saving.


And, sorry, what was your first question?
B
20
S
4
G
1
Posts: 185
Reputation: 2,563

Post » Sun Jan 26, 2014 6:19 pm

Comments don't make it to the final exported c2runtime.js, neither do spaces and minimizing will also reduce the size of the file as much as possible.

As for editing functions out of the c2runtime.js, let's make the analogy with a car engine.
It may look as they are far more pieces than you need in the engine, but that's the way it is designed and works as a whole.

And if you don't use some plugins, they don't end up in the final js file anyway, so no worry on that point.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
284
S
109
G
91
Posts: 7,317
Reputation: 87,483

Post » Sun Jan 26, 2014 9:22 pm

@Kyatric its possible to add comment in c2runtime.js?
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,553

Post » Mon Jan 27, 2014 8:32 am

If you mean the comments from an event sheet to appear in the final c2runtime.js file, no.
If you mean opening the file in the notepad and adding "//" and your comments behind it, yes.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
284
S
109
G
91
Posts: 7,317
Reputation: 87,483


Return to Construct 2 General

Who is online

Users browsing this forum: mrkaio and 2 guests