playMaker

Author Topic: Extended loop counter  (Read 743 times)

Broken Stylus

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Extended loop counter
« on: September 21, 2019, 02:57:55 AM »
Hi,

The loop counter limits itself today to the display of loops per frame.

Sometimes I wish I knew how many times certain states have been entered in total.
Could it be possible to also display the total number of loops overall?
This would be an option to activate, like "display total loops since start" or something like that. It would look like this:

1 | 2145

On the left, the loops per (current or last) frame, on the right the total of loops in this FSM since start.

Options would exist to both cap the total to a given int and also to chose to cut the text and replace the digits by ... if the number gets very large.

Also, it would be veeerrrrry nice to be able to decide to chose their (font) size and where to display them;
- anchor: low left, middle left, top left, top center, top right, middle right, low right.
- gap: distance from state

Maybe it could be slightly simplified by simply proposing anchor left, center or right, and the gap would be defined with X and Y.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15316
  • Official Playmaker Support
    • View Profile
Re: Extended loop counter
« Reply #1 on: September 29, 2019, 11:59:40 PM »
Hi,

 it's there already :)



Bye,

 Jean

Broken Stylus

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: Extended loop counter
« Reply #2 on: September 30, 2019, 03:16:03 AM »
Sure, the usual loop counter is there, but I'm talking about grafting some extra functions onto it, as described in the OP.

Broken Stylus

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Re: Extended loop counter
« Reply #3 on: June 09, 2020, 06:14:44 AM »
Just clarifying. The counter could provide two values :

(a) total times the flow passes through a given state during a given frame

and

(b) total times the flow passed through a given state since the FSM got active

Displayed thus :

a | b

                                                                                                         
Bonus feature: Display's font size and position
In some visual configurations, when placing states close to each other, the counter of a state can be partially masked by the body of a state above it.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15316
  • Official Playmaker Support
    • View Profile
Re: Extended loop counter
« Reply #4 on: June 09, 2020, 10:45:31 PM »
Hi,

 Alex is aware of this shortcoming, so this is likely to be improved in future updates.

Bye,

 Jean

SamH

  • Playmaker Newbie
  • *
  • Posts: 22
    • View Profile
Re: Extended loop counter
« Reply #5 on: June 16, 2020, 10:05:24 AM »
Just to second that, this would be an awesome extra option!  Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5072
    • View Profile
    • jinxtergames
Re: Extended loop counter
« Reply #6 on: June 16, 2020, 03:49:34 PM »
Hi.
On my last contact with Alex he mentioned that he can see the value in an “entered count” display.
So there is a big chance it will be added in a next update :)