Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: Broken Stylus on September 21, 2019, 05:57:55 AM

Title: Extended loop counter
Post by: Broken Stylus 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.
Title: Re: Extended loop counter
Post by: jeanfabre on September 30, 2019, 02:59:40 AM
Hi,

 it's there already :)

(https://i.imgur.com/Dq7oSY4.png)

Bye,

 Jean
Title: Re: Extended loop counter
Post by: Broken Stylus 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.
Title: Re: Extended loop counter
Post by: Broken Stylus 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.
Title: Re: Extended loop counter
Post by: jeanfabre 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
Title: Re: Extended loop counter
Post by: SamH on June 16, 2020, 01:05:24 PM
Just to second that, this would be an awesome extra option!  Thanks
Title: Re: Extended loop counter
Post by: djaydino 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 :)