playMaker

Author Topic: State Groups  (Read 15439 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
State Groups
« on: June 24, 2016, 08:57:07 PM »
As well as the task manager idea, I have been thinking about how grouping of states could be handy. Visually and practically they make heaps of sense

Feature ideas -
 - Drag States into a Group
 - Groups auto size around states that are in the group
 - Name the group (see image)
 - Group comments (see image)
 - Ability to move the group like a state (click drag the group name bar)
 - Copy/Paste groups

Thoughts? is this even possible?
« Last Edit: June 24, 2016, 10:12:20 PM by escpodgames »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: State Groups
« Reply #1 on: June 25, 2016, 05:13:58 AM »
Hi,
Also be able to collapse the group and color them.

Ateam

  • Full Member
  • ***
  • Posts: 116
Re: State Groups
« Reply #2 on: August 03, 2016, 11:55:54 PM »
I like the idea

cloud03

  • Full Member
  • ***
  • Posts: 249
  • Viva Playmaker!
    • Milkish Game Studios Blog
Re: State Groups
« Reply #3 on: August 04, 2016, 07:06:41 AM »
Yup, me too, this could really help organize things in Playmaker!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: State Groups
« Reply #4 on: August 10, 2016, 04:43:40 AM »
Hi,

 yes. I would like that too :) But in this mockup, you should also be aware of potential link going in and out of a group to other parts of the fsm. I think this is where group could take a very useful role in collapsing a feature in an fsm and see what is linked to and from it.

Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: State Groups
« Reply #5 on: August 11, 2016, 09:17:13 AM »
Hi,
This topic gave me another idea.

With a tetris game i was using the templates but i had several object doing just a few actions different so i could not use the template for them.

Maybe an idea is when using those groups in a template that they are able to be edited per fsm that is using that template or the other way around that states outside the groups are editable.

i hope you understand what i mean :)

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: State Groups
« Reply #6 on: September 22, 2016, 01:56:34 AM »
Bump! Alex? thoughts?
Just saw that Unreal has this and it's amazing.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: State Groups
« Reply #7 on: November 04, 2016, 10:57:46 AM »
Hi,
It would also be nice if templates could be placed inside a group,
So you could it for parts that are the same on several objects and have different things outside the group.

for example i have a bunch of enemies which all do the same, but i want certain ones to move up, others left, others right and others down.

i could then make a template doing the standard things (for example wave sword/idle every 5 sec and so on)
and place that in a group.

then outside the group i could then set desired direction for each enemy.

Dreatern

  • Playmaker Newbie
  • *
  • Posts: 21
Re: State Groups
« Reply #8 on: February 05, 2017, 02:15:38 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
« Last Edit: February 05, 2017, 02:28:08 AM by Dreatern »

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: State Groups
« Reply #9 on: February 05, 2017, 03:47:53 AM »
I think nodecanvas also has it, really helps keep things clean.
« Last Edit: February 27, 2017, 09:02:00 AM by krmko »
Available for Playmaker work

human890209

  • Junior Playmaker
  • **
  • Posts: 62
Re: State Groups
« Reply #10 on: February 06, 2017, 03:54:11 AM »
Nested will be great, and make Variable/Event local or exposed!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: State Groups
« Reply #11 on: September 29, 2017, 06:07:10 AM »
I fiddled a bit with NodeCanvas, it's quite convenient and i think it could really help for the workflow. There's also group nesting implemented in NodeCanvas, so you can put a state group into state group. Here's how so called Canvas Groups work over there:



Quite neat, huh?
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: State Groups
« Reply #12 on: October 12, 2017, 04:14:47 AM »
Hi,

 yes, it's been discussed, and It's on the roadmap for sure.

 Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: State Groups
« Reply #13 on: January 26, 2018, 05:01:25 AM »
Hi.
Bump!


A good thing would also be if templates can be used for groups, and that you can connect 'group variables' to the template.
or if you add a template, that you can set the variables inside the group instead of inspector. and be able to change these variables @runtime.
Similar to Set Fsm actions it would then be (Set Group Actions or something)
This would give a lot of flexibility.

Marc Saubion

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 79
Re: State Groups
« Reply #14 on: March 09, 2018, 12:16:34 PM »
And rebump.  ;D

With all the work a get these days, the need for organisation and use of templates is going up. Can't wait for this feature.