playMaker

Author Topic: PlayMaker for FSM state creation and linking, Unity for programming  (Read 5090 times)

bernardfrancois

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Here at PreviewLabs, we've been playing around with PlayMaker lately to consider using it in our future prototyping projects.

Our conclusion is that PlayMaker is most interesting when using it to create and link states, while keeping the state behavior in code.
More can be read here.

MaDDoX

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 165
    • View Profile
    • FluidPlay Studios
Re: PlayMaker for FSM state creation and linking, Unity for programming
« Reply #1 on: April 12, 2011, 01:41:32 PM »
Interesting approach, sounds like a good option to integrate existing code in a Playmaker FSM – you can do a similar thing with the ‘Enable Behavior’ action. The disadvantage with this approach is that you lose the quick reference to what the state is doing by simply clicking on it and reading its action list.

I think we could really use some more algorithmic actions in PlayMaker to avoid so much state fragmentation that things get crowded and hard to understand, I’ve already released one such action and am currently working on others.
--
Breno "MaDDoX" Azevedo
@brenoazevedo

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: PlayMaker for FSM state creation and linking, Unity for programming
« Reply #2 on: April 12, 2011, 11:25:44 PM »
Hi,

 I agree too, some logical blocks to route events instead of plain actions. A case statement, or a if statement should maybe not be considered as an action properly speaking but as a different sort of State with a different shape and all that. Is it what you are saying?

Bye,

 Jean

jasonlee

  • Playmaker Newbie
  • *
  • Posts: 12
    • View Profile
Re: PlayMaker for FSM state creation and linking, Unity for programming
« Reply #3 on: April 27, 2011, 06:14:08 PM »
I'm thinking about the same approach, to keep actions per state minimum, move all game logic outside of fsm as separate script.
Playmaker is not a visual scripting tool, the action list is hard to and should not turn into a visual graph.