playMaker

Author Topic: Extended loop counter  (Read 2386 times)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Extended loop counter
« on: September 21, 2019, 05: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: 15500
  • Official Playmaker Support
Re: Extended loop counter
« Reply #1 on: September 30, 2019, 02:59:40 AM »
Hi,

 it's there already :)



Bye,

 Jean

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Extended loop counter
« Reply #2 on: September 30, 2019, 06: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

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Extended loop counter
« Reply #3 on: June 09, 2020, 09: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: 15500
  • Official Playmaker Support
Re: Extended loop counter
« Reply #4 on: June 10, 2020, 01:45:31 AM »
Hi,

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

Bye,

 Jean

SamH

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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Extended loop counter
« Reply #6 on: June 16, 2020, 06: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 :)