playMaker

Author Topic: State Groups  (Read 3765 times)

krmko

  • Hero Member
  • *****
  • Posts: 611
    • View Profile
    • Fat Pug Studio
Re: State Groups
« Reply #15 on: March 09, 2018, 10:33:38 AM »
Come on already guys, not only flow canvas has groups, it also has macros (like a collapsible group)



Even Bolt has groups



escpodgames

  • Hero Member
  • *****
  • Posts: 676
    • View Profile
    • Assets
Re: State Groups
« Reply #16 on: March 18, 2018, 12:53:06 PM »
This is the one feature that would help the most with large projects and really hope it is being considered.

Any word on this being a future feature?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2879
    • View Profile
    • jinxtergames
Re: State Groups
« Reply #17 on: March 18, 2018, 11:21:04 PM »
Hi.
Jean said that it is on the road map.
So it will be added, but not sure when yet.

But keep bumping this :)

stvbabb

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: State Groups
« Reply #18 on: April 17, 2018, 11:12:13 PM »
+1

I have suggested something like that in 2012 before subfsm.
Same concept, like the old virtools "building blocks"
https://goo.gl/HwURX4

https://youtu.be/jxDxmF7Mj5c?t=1m40s

Something like that will make Playmaker better and easy to keep things organized.

The mock-up I used in 2012


I really like the idea of a sub FSM like in the picture, but also hitting ctrl and dragging a group box would be great as in the previous posts.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2879
    • View Profile
    • jinxtergames
Re: State Groups
« Reply #19 on: April 18, 2018, 10:56:26 AM »
Hi.

@stvbabb

Yes i really like the sub FSM idea aslo, especially if you could use template fsms and connect variables.

Marc Saubion

  • Playmaker Newbie
  • *
  • Posts: 44
    • View Profile
Re: State Groups
« Reply #20 on: April 18, 2018, 02:43:24 PM »
You can already do the sub FSM using the "run fsm" action with templates using exposed variables as inputs.  :D



Really powerfull once you get it. Don't be like me and give up trying "run fsm template": it's basically the same without the inputs and I'm not sure why it is still around.

The only thing missing is output variables: currently, you need to use "get host infos" to get the host and its FSM name so you can use a "set FSM variable type" on it. It's a bit tedious because you have to make sure your variable are named correctly and not mix up their types. It would be awesome to have a little checkbox to click so the host FSM would automatically retrieve needed variables from the sub FSM.

I was rooting for the group FSM as much as you few days ago and now understand why the request is ignored, the idea totally double with the "run FSM" action.

Still, a simple group tool would be welcome: being able to draw a rectangle to organize things. Also being able to add icons on states would be welcome. These are just visual but help maintaining things clear and effective for future you who is going to open the hood one day.

stvbabb

  • Playmaker Newbie
  • *
  • Posts: 31
    • View Profile
Re: State Groups
« Reply #21 on: April 18, 2018, 11:51:15 PM »
Hi Marc,

Cool, thanks for that info. I'll check out the Run FSM action.

I totally agree with the group states and some simple iconography.

krmko

  • Hero Member
  • *****
  • Posts: 611
    • View Profile
    • Fat Pug Studio
Re: State Groups
« Reply #22 on: April 19, 2018, 01:21:26 AM »
We just need a goddamn rectangle, no fancy shenanigans, is it too much we're asking for  :'( :'( :'(

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12839
  • Official Playmaker Support
    • View Profile
Re: State Groups
« Reply #23 on: April 19, 2018, 11:31:29 PM »
Hi,

 If it was an easy add, it would be there already :) but the implications are very deep in how fsm handles routines, so yeah... not an easy task unfortunatly.

 Bye,

 Jean