[Request] Expand on Play

NodeCanvas Forums General Discussion [Request] Expand on Play

  • This topic has 5 replies, 3 voices, and was last updated 3 years ago by sam.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15607
    locutis
    Participant

    This is something I really enjoyed with my time using Behavior Designer a few years ago. In that your subtrees would expand on play which allowed you to benefit from modular subtrees but also maintain good visibility into your overall logic at runtime.

    This is something that I really do miss and would like to see in NodeCanvas. The work for this is rather large as the asset would need to auto space nodes and also have a new rendering branch. I would also suggest that the “expand” option be selectable in the subtree so that its opt in

    I would work on this if I had the time, but sadly our game is a bit behind schedule. We here would greatly appreciate it if this is something that could be put on some sort of backlog. I’m really not liking the double-click flow combined with the single graph-editor restrictions of the asset.

    #15614
    locutis
    Participant

    got something really crude mostly working – I seem to have broken moving nodes when not pressing “shift” and also some subtrees do not render properly

    Attachments:
    You must be logged in to view attached files.
    #15616
    locutis
    Participant

    gif showing how it works

    Attachments:
    You must be logged in to view attached files.
    #15620
    Gavalakis
    Keymaster

    Hello there,

    Seems you have something in the works 🙂
    I could see this feature working as a popup rather than truly expanding the nodes (subtree nodes being renderered on top of the actual graph nodes), meaning as a visual rendering of the subtree without the ability to actually select or modify the subtree nodes.

    Let me know what you think about that?

    As a side note, I do plan to allow multiple graph editor windows to be open at the same time as I replied to your other thread 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

    #15638
    locutis
    Participant

    Hey – thanks for the reply!

    I think the popup does look cleaner, but might not be as useful when you just want a birds eye view of how things are running, top-to-bottom.

    What I have here is a bit ugly, but its spend up my workflow and debugging a bit so I am personally good with it being a bit clunky. I recently added stepped colouring so that each subtree is a different colour.

    When doing these edits to the graph editor I could definitely understand how multiple graph editor windows would be a bit tricky. I would say that for me this “expand children” feature is a bit more useful in the moment then multiple graph editors.

    I can share the edits I made to GraphEditor and Editor.Node … but I’m sure you could do a better job of it being the author an all!

    I’m on a differnt task at the moment, but when I’m complete I can get a capture of what a big graph look likes for us atm (with the subtree colouring)

    #15796
    sam
    Participant

    I was going to ask for the same feature but found this thread, having NodeCanvas automatically show sub-graphs on Play mode would be really nice, I really enjoy using sub-graphs but having to manually click on them while the game is running just slows down the debugging process.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.