Godot: Attach a note/comment to a node

Created on 13 Jun 2015  Â·  26Comments  Â·  Source: godotengine/godot

I'd like to be able to attach a note to any node in the editor.

feature proposal editor usability

Most helpful comment

it's not a bad idea at all, documenting your scenes
lets think a bit better how this can be edited and displayed

On Thu, Mar 23, 2017 at 3:48 PM, Stuart Moore notifications@github.com
wrote:

Bump. Will 3.0 add any functionality for this?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/2082#issuecomment-288823700,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z252ZkfFTOfKABXLWGm6maLvD10tYks5ror6YgaJpZM4FB_Yi
.

All 26 comments

Could you elaborate a bit? Do you mean parenting node A to another node B or maybe continuously copying the location/rotation/scale from node B to node A without making node A child of node B?

Could you describe what are you trying to achieve?

a text note.

Like "this needs to link to that and the other thing" or "This node is a collection of particle systems that the particle system manager uses for scoring effects" etc.

I think maybe you commented to the wrong issue or mis-read. ;)

Oh. I read "attach a NODE to a NODE".
Now I realized it's "NOTE to a NODE". My bad, nevermind.

Nodes (and all Objects) have metadata, you can use set_meta() and
get_meta() on them. This is more like an interface issue tho, it would be
nice to have something to inspect and edit the metadata..

On Sat, Jun 13, 2015 at 7:50 PM, unfa [email protected] wrote:

Oh. I read "attach a NODE to a NODE" sorry.

Now I realized it's "NOTE to a NODE". My bad, nevermind.

—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2082#issuecomment-111758199.

that would work, if there was an interface. I'm a programmer and I want to be able to set up the scripts to work with the game/asset structure I want. Then I want to be able to hand it over to the artists and let them fill in the content. But they are going to need hints (and I don't really want to have nodes named "Add particle systems used for hits here" because then I have to use that name in the code. It's certainly not that big of a deal, I will be generating printed docs for them to use anyway.

Notes can be useful when assets exchange will be available. So you could upload a *.scn file without instructions in other text files!

Now I get the point. Something like a viewable text hint?

What about using empty attached script files, with commented out lines as notes ?..

I think we might need a mockup to get these ideas ironed out.

I would prefer my artists NOT even look at the scripts ;)

Ideally, this could be the "tooltip" that the editor uses in the scene tree.

comments not notes. each node can have 1 comment stored inside the node as metadata. could be handy for teamwork passing a file around. you could have a comment button, before the visible/hidden icon, that pulls out the comment textbox or when the node graph is implemented you could have comments show up there. alternatively mouse over a node shows comment text.

this could also be useful for developers to leave quick dirty messages to artists by setting default node comments to something informative like "this not is not fully implemented yet do not use" so you don't need to change help all the time. so essentially creating more communication between everyone involved.

That's a cool idea! I slightly edited the title to make it clearer, as I also misread "attach a node to a node" like @unfa :P

I'd like to attach meta data to nodes within the editor. It would be like Blender's properties. You could also create a meta data node to access properties/values within the game. This idea could be useful for a variety of applications. Although I'd like to be able to add multiple metas to a node.

[As asked to by @vnen on #5992 -]

Having comments on a node might be useful for projects (perhaps larger ones in particular?) where you may not necessarily remember what a node is for, why it's there etc. So if nodes have comments that you can set in the Inspector (and then see by hovering over their entries in the Scene panel), that might be of use?

Please excuse the awful editing, but hopefully these help get my point across?

node_comment_2 png
node_comment_1 png

@Sslaxx Also, an icon in the Scene dock (like the script icon, or signal/group icon) that it has a comment would be pretty nice.

Bump. Will 3.0 add any functionality for this?

it's not a bad idea at all, documenting your scenes
lets think a bit better how this can be edited and displayed

On Thu, Mar 23, 2017 at 3:48 PM, Stuart Moore notifications@github.com
wrote:

Bump. Will 3.0 add any functionality for this?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/2082#issuecomment-288823700,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z252ZkfFTOfKABXLWGm6maLvD10tYks5ror6YgaJpZM4FB_Yi
.

Any progress?

godot already has a WYSIWYG like editor, which is amazing in and of itself. with proper naming of nodes and visualization, the likelihood of needing sticky notes all over one's scene is/should be greatly diminished

Nobody's suggested "sticky notes" that would be "all over one's scene"? Note that this issue suggests using tooltips (i.e., they'd only appear when said node or whatever is being hovered over by the mouse cursor).

Nobody's suggested "sticky notes" that would be "all over one's scene"?

that's from what i got from all the screenshots regarding this suggestion. i was merely just saying extra notes on the screen. look at the s/s in the issue 24762, that looks like sticky notes to me

@Sslaxx Well, it's kind of implied by marking #24762 as a duplicate of this one, which IS about that. I left a comment over there stating that I didn't think that was a dupe of this suggestion.

@gring over in #24726 @bojidar-bg pointed out that #24726 actually has two suggestions in it, and the first is a duplicate of this one. The second suggestion, which the screenshot is attached to, is not (but may be a dupe of the other bug that is referenced, in spirit if not in the implementation details.)

@Gring over in #24726 @bojidar-bg pointed out that #24726 actually has two suggestions in it, and the first is a duplicate of this one. The second suggestion, which the screenshot is attached to, is not (but may be a dupe of the other bug that is referenced, in spirit if not in the implementation details.)

yeah, i just went to the first one he said was a duplicate (this one) and posted here, cause the other issue got closed. that's where i got sticky notes from (apologies for the confusion)

I was thinking . Could it be possible to add the comment both via the editor under Node perhaps have a Comment box similar to Hint->Tooltip and from script something like self.comment = "leave a comment here" ? In both cases when you mouse over you see it right in the editor . Perhaps even add a new icon beside script (a tiny paper note) or the Node name is highlighted with different color.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timoschwarzer picture timoschwarzer  Â·  3Comments

n-pigeon picture n-pigeon  Â·  3Comments

Zylann picture Zylann  Â·  3Comments

mefihl picture mefihl  Â·  3Comments

SleepProgger picture SleepProgger  Â·  3Comments