playMaker

Author Topic: Dummy Dot  (Read 3369 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Dummy Dot
« on: January 21, 2015, 04:56:13 PM »
So I get these big playmaker sets because I prefer to not have many actions in a state.  that way later on I can come back and find stuff easily.  The issue is that the lines go over each other.  It can be a bit of a mess.  My solution is to have a dummy state to draw the lines to.  the dummy state is off to the side.  That way the lines don't cross but go to the dummy state.  the dummy state just has a finished and no actions.

Sure, this is fine, BUT....I'd like to see a dummy dot.  this dummy dot does NOTHING.  You would not even be able to put and action inside.  it would be just to connect the lines.  that way, you can draw around the other states.

See pic.  The 'DUMMY DOT' would not be a state, but rather just a big dot.  It could have lines to it and away from it and be colored.  No actions inside.

BTW: I used the first FSM I could find so yeah I know if it destroys itself you don't go back to the beginning.  It's just an example.

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Dummy Dot
« Reply #1 on: January 21, 2015, 07:10:24 PM »
In the next update ( Playmaker 1.8 ) I believe you can set the connecting lines to draw behind the states, not sure if that would help solve your issue but thought I'd mention it :)

"Added Preference to draw links behind states" on the wiki

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: Dummy Dot
« Reply #2 on: January 21, 2015, 08:08:04 PM »
I'd prefer being able to redirect the lines.  When you take a flowcharting class in college, they force you never to overlap the lines.  This is just good flowcharting.  I see how behind would help some, but redirecting in front I thing is more usefull.

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Dummy Dot
« Reply #3 on: January 21, 2015, 08:10:15 PM »
Another option would be to send an event back to the first state, I've done this a bunch to remove lines going everywhere.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Dummy Dot
« Reply #4 on: January 22, 2015, 07:02:24 AM »
I haven't been recently using the feature LampRabbit mentioned but in earlier versions of the beta it was available so I assume it still is.

It would be nice to have some more control over the line directions, but there are several good ways to approach adding features to control that and it would take some experimenting. Maybe Alex can find somewhere it squeeze this sort of thing into the roadmap.

In the meantime there are some nifty ways to get things cleaned up like using Send Event to go back to a primary state where most of the transitions come from instead of using a FINISHED transition and pointing back to it. This removes the visual readability of how that state finishes but I've found that it generally is easy enough to identify when you see it being used.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D