playMaker

Author Topic: State Groups  (Read 2304 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 673
    • View Profile
    • Assets
State Groups
« on: June 24, 2016, 05: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, 07:12:20 PM by escpodgames »

djaydino

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

Ateam

  • Junior Playmaker
  • **
  • Posts: 61
    • View Profile
Re: State Groups
« Reply #2 on: August 03, 2016, 08:55:54 PM »
I like the idea

cloud03

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12405
  • Official Playmaker Support
    • View Profile
Re: State Groups
« Reply #4 on: August 10, 2016, 01: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: 2393
    • View Profile
    • jinxtergames
Re: State Groups
« Reply #5 on: August 11, 2016, 06: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: 673
    • View Profile
    • Assets
Re: State Groups
« Reply #6 on: September 21, 2016, 10:56:34 PM »
Bump! Alex? thoughts?
Just saw that Unreal has this and it's amazing.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2393
    • View Profile
    • jinxtergames
Re: State Groups
« Reply #7 on: November 04, 2016, 07: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
    • View Profile
Re: State Groups
« Reply #8 on: February 05, 2017, 12: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

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
« Last Edit: February 05, 2017, 12:28:08 AM by Dreatern »

krmko

  • Sr. Member
  • ****
  • Posts: 442
    • View Profile
    • Fat Pug Studio
Re: State Groups
« Reply #9 on: February 05, 2017, 01:47:53 AM »
I think nodecanvas also has it, really helps keep things clean.
« Last Edit: February 27, 2017, 07:02:00 AM by krmko »

human890209

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

krmko

  • Sr. Member
  • ****
  • Posts: 442
    • View Profile
    • Fat Pug Studio
Re: State Groups
« Reply #11 on: September 29, 2017, 03: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?

jeanfabre

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

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

 Bye,

 Jean