playMaker

Author Topic: State Groups  (Read 15440 times)

Fat Pug Studio

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



Even Bolt has groups


Available for Playmaker work

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: State Groups
« Reply #16 on: March 18, 2018, 03: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: 7615
    • jinxtergames
Re: State Groups
« Reply #17 on: March 19, 2018, 02:21:04 AM »
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

  • Junior Playmaker
  • **
  • Posts: 66
Re: State Groups
« Reply #18 on: April 18, 2018, 02:12:13 AM »
+1

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


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: 7615
    • jinxtergames
Re: State Groups
« Reply #19 on: April 18, 2018, 01:56:26 PM »
Hi.

@stvbabb

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

Marc Saubion

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 79
Re: State Groups
« Reply #20 on: April 18, 2018, 05: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

  • Junior Playmaker
  • **
  • Posts: 66
Re: State Groups
« Reply #21 on: April 19, 2018, 02:51:15 AM »
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.

Fat Pug Studio

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: State Groups
« Reply #23 on: April 20, 2018, 02:31:29 AM »
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

siumanchunandy

  • Playmaker Newbie
  • *
  • Posts: 27
Re: State Groups
« Reply #24 on: May 07, 2018, 11:44:19 AM »
Please Add  just need a goddamn rectangle, no fancy shenanigans ! Thank You !

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: State Groups
« Reply #25 on: May 07, 2018, 04:43:00 PM »
I hear you! State Groups will be in 1.9.1 (we're wrapping up 1.9.0 now and it didn't quite make it in there).


djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: State Groups
« Reply #26 on: May 07, 2018, 04:54:55 PM »
OOOHH!!!

I can't wait to try that out  8) 8) 8)

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Re: State Groups
« Reply #27 on: October 05, 2020, 07:20:32 AM »
Really Looking forward to this :D
Playmaker is still my favorite!!!
Have I said how much I love playmaker!!! This is one amazing tool

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: State Groups
« Reply #28 on: December 22, 2020, 01:26:21 PM »
1.9.1 has a near release so perhaps this feature that was pushed back will be presented there. It's not a simple feature to implement because of how several links can get in or out of the group so it has to visually make sense, especially as you expand and collapse the group. It seems trivial but if you have links that actually come from above and others that come from the right or the left, if these states are grouped, would Playmaker keep the usual visual nomenclature of having entry links being strictly horizontal, or would it then also allow links to penetrate the group's "membrane" from above or even below? That and other things.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: State Groups
« Reply #29 on: December 22, 2020, 05:19:52 PM »
Hi.
I did notice a updated version of the Run Fsm.

I use run fsm a lot lately, especially with enemy behaviors, which kinda groups states.
and is very useful if you need to do multiple things, but also need it be be in the same state.