[Suggestion] Line by line comments

Discussion and feedback on Construct 2

Post » Sat Mar 31, 2012 10:48 am

It would be nice to have the possibility to add comments on top of action as opposed to only on top of events. Right now I create blank sub events splitting action in order to have comments on top of them.

Thanks for the attention!
B
29
S
9
G
6
Posts: 525
Reputation: 8,294

Post » Sat Mar 31, 2012 12:57 pm

Added to todo list.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sat Mar 31, 2012 8:15 pm

This one definitely gets my vote. Some individual lines cry out for comments (at least in my code ;) Glad it's on the todo list!
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sat Mar 31, 2012 9:03 pm

Agreed, and thanks to Ash for adding it to the to-do list almost immediately.
B
25
S
8
G
7
Posts: 184
Reputation: 6,040

Post » Sat Mar 31, 2012 9:34 pm

I don't know how you're going to implement it @Ashley but but if you were going to add 'action comments' that can't be dragged elsewhere, would it be possible to make it instead so comments be dragged anywhere, as an event, condition or action? I think it would be much simpler and more intuitive to work with that way.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Fri Apr 13, 2012 7:38 pm

This is definitely a much desired and important feature to keep event sheets well documented. Delighted to know that this will be out soon...
B
27
S
6
G
6
Posts: 20
Reputation: 6,132

Post » Thu Jul 26, 2012 7:27 am

Is there a way to comment out a line of code using Construct 2 r95 as I did not see this in the in the comments section of the manual? If not it would be great to have this ability especially in testing out different scenarios.

Particularly this comes in handy as I like to be able to add an fps expression at the beginning of every event sheet for performance checking, but would like to comment this line out instead of deleting it in the build process in case I do additional tweaks in the future and release another version of the game.
B
28
S
4
G
3
Posts: 70
Reputation: 4,874

Post » Thu Jul 26, 2012 7:30 am

[QUOTE=Ashley] Added to todo list.[/QUOTE]

@jwjb: The feature is on the todo list, but as it is not an essential feature and that Ashley is developing C2 on his own, he prioritize the features implementations.

This will be addressed/implemented in some release in the future.


Also what you mean by comment looks like the "Toggle disabled" feature that you get when you right click a condition, an event/group or an action.

You also have the condition "System: Is on preview" which will only execute while you're previewing your project but won't execute in an exported project.Kyatric2012-07-26 07:34:01
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: 6,998
Reputation: 57,791

Post » Thu Jul 26, 2012 8:06 am

@Kyatric: Very cool. I tried both the 'Toggle disabled' and 'System: Is in preview' and they both worked like a charm. Thanks for the heads-up!
B
28
S
4
G
3
Posts: 70
Reputation: 4,874


Return to Construct 2 General

Who is online

Users browsing this forum: blurymind and 8 guests