blockout22 / OverwatchVisualScripting

Write Overwatch Scripts using node based scripting
MIT License
15 stars 1 forks source link

QoL Request #6

Closed Neuffexx closed 3 months ago

Neuffexx commented 3 months ago

A simple node that has no connections and simply servers as a comment / grouping indicator. Think of something similar to what Unreal Engine has, where you can create a node that is always rendered beneath other nodes, that can have a custom colour and a title. (Preferably the title being noticably bigger than a normal node, but not required).

Just to organize the code and make it easier / faster to work with visually.

blockout22 commented 3 months ago

I'll see if I can implement that

I do however have comments implemented per node which could also be of use

image

Neuffexx commented 3 months ago

Oh yeah I am already using them, very usueful actually, but what I refer to is using these comment nodes to 'group-comment' certain nodes or multiple node trees at once. Ie. you have a section of nodes that is dedicated to movement, so you create a group comment around it, assign a colour to it, so when swaping between code you can quickly zoom out and back in to the correct place.

Very useful for large code.

blockout22 commented 3 months ago

image

took me a while to find this and implement it but I have made progress implementing it

Neuffexx commented 3 months ago

Very nice, how does it handle overlap of multiple group comments? As in z-order. Does it know contextually what to render on top based on which node is inside of another or based on oldest/newest created?

blockout22 commented 3 months ago

image

it seems to handle that automatically it's self very well

Neuffexx commented 3 months ago

So moving underlying comments around doesn't cause them to be 'moved on top' of others right? I'm simply asking to avoid the bug of adding / creating comments, and then eventually moving the big one everything sits in and having it suddenly block everything.

If not good job, very nice addition. Will make it massively easier to work with in the long run!

blockout22 commented 3 months ago

it seems to be working exactly the way you are wanting

Neuffexx commented 3 months ago

Tried it, works perfectly, thanks!