playMaker

Author Topic: PlayMaker stats  (Read 22339 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
PlayMaker stats
« on: January 11, 2012, 03:15:35 AM »
Hi,

 Started a small editor window to output general statistics about the fsms.

Download the package here

 Then it will be available in the menu: "PlayMaker/Editor windows/stats"

 I started this because I desperately need to have a more general overview to find potential functions duplicates and other things to improve.

  It's only started, so don't expect anything useful, but it's already fun :) that's why I am sharing this so soon. If you have ideas on what would like to see in this stat window, just shout oud enough :)

 Right now it outputs the number of fsms, the total number of variables, total number of events, and total number of states. But the plan is to mimic the fsm component "Info" section and basically extract as much as I can with the current available api. I want to check for duplicated events, duplicates variables, biggest fsm, external calls, etc etc. The global stats will also output more granular on top of the general numbers ( like numbers of fsmInt, Fsm Vector3 etc etc, global variables, global events, etc.

The biggest project I have so far has the following:

73 Fsms
678 States
202 variables
1324 events

 now, I feel better invoicing  ;D

What are your stats? would be cool to see this kind of stats we get from the community. The winner ( no cheating please, :P) ) will get..... our empathy... ;)

 Bye,

 Jean
« Last Edit: June 24, 2015, 02:03:36 PM by jeanfabre »

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: PlayMaker stats
« Reply #1 on: January 12, 2012, 01:23:59 PM »
How do i rate?

115 FSMs
546 States
313 variables
580 Events

Q

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlayMaker stats
« Reply #2 on: January 13, 2012, 01:01:43 AM »
nice :)

 I have to do more work on not counting unused events I think.

Bye,

 Jean

speedything

  • Playmaker Newbie
  • *
  • Posts: 13
Re: PlayMaker stats
« Reply #3 on: February 03, 2012, 09:58:07 PM »
FSMs : 99
States: 327
Variables: 248
Events: 273

I better make my next FSM a good one (and not the boring 2-state one I had planned!)  :D

brendang

  • Junior Playmaker
  • **
  • Posts: 63
    • Out to Play Interactive
Re: PlayMaker stats
« Reply #4 on: May 01, 2012, 11:43:14 PM »
Wow...complex.  And would projects with this many FSMs run on mobile platforms like iPad?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlayMaker stats
« Reply #5 on: May 02, 2012, 02:12:58 AM »
Hi,

The number of fsm components or indeed scripts running isn't generally the problem on mobile, it's more what you do inside it and how efficient is it, for example, don't check for a variable on each update, instead work out a solution to inform about a change of value. Don't do complex manipulation every update when you can do it once when necessary, things like that.

 and most likely you will struggle with the meshes, materials, textures and physics ( if there is). This is where the real optimization and potential show stopper are really, especially on mobile.

Bye,

 Jean

brendang

  • Junior Playmaker
  • **
  • Posts: 63
    • Out to Play Interactive
Re: PlayMaker stats
« Reply #6 on: May 02, 2012, 10:09:18 AM »
Great info, Jean...thanks.

I had just read somewhere in the Unity forum about some other non-visual FSM plugin that mentioned things could get heavy. Good old project optimization can absolve a myriad of sins.

Azamat

  • Playmaker Newbie
  • *
  • Posts: 2
Re: PlayMaker stats
« Reply #7 on: June 16, 2015, 10:17:28 AM »
Not working(

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlayMaker stats
« Reply #8 on: June 24, 2015, 02:04:58 PM »
Hi,

I updated the script, it's now a package. Get it from the original post of this thread.

It's been a while I wanted to do a beefed up version of this system, bot just stats but also for better introspection and searches, so I may include this within the Ecosystem soon.


 Bye,

 Jean

Azamat

  • Playmaker Newbie
  • *
  • Posts: 2
Re: PlayMaker stats
« Reply #9 on: June 25, 2015, 09:16:48 PM »
Thank you Jean. Playmaker Stats now working)

Roger Lee

  • Playmaker Newbie
  • *
  • Posts: 31
Re: PlayMaker stats
« Reply #10 on: February 14, 2016, 10:30:59 AM »
My current PC project.

FSMs: 199
States: 734
Local Variables: 395
Local Events: 451
Global Events: 0
Global Variables: 24

Except for the water system and the smooth camera controllers, it's all Playmaker.   I have a long way to go too :)

purpledog770

  • Playmaker Newbie
  • *
  • Posts: 1
Re: PlayMaker stats
« Reply #11 on: March 18, 2016, 10:57:50 AM »
Wow, your editor is so useful. Thank you, now I can get my whole statistics and analyse them! :)
Have you ever been to my school? It's called The Folkestone School for Girls. Make sure that your floor is beautiful and shiny with chapel parket

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: PlayMaker stats
« Reply #12 on: March 18, 2016, 02:34:00 PM »
Hi,
Reworking and older game :

FSMs: 282
States: 3259
Local Variables: 664
Local Events: 2774
Global Events: 234
Global Variables: 112

Roger Lee

  • Playmaker Newbie
  • *
  • Posts: 31
Re: PlayMaker stats
« Reply #13 on: June 11, 2016, 07:27:10 PM »
My current PC project.

FSMs: 199
States: 734
Local Variables: 395
Local Events: 451
Global Events: 0
Global Variables: 24

Except for the water system and the smooth camera controllers, it's all Playmaker.   I have a long way to go too :)

UPDATE:

FSMs: 292
States: 1237
Local Variables: 494
Local Events: 904
Global Events: 0
Global Variables: 42

This thing is on track to have 1000+ FSM's!!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: PlayMaker stats
« Reply #14 on: January 28, 2017, 08:49:15 AM »
Wow, i just found this one :)

FSMS: 469
States: 1176
Local Variables: 164
Local Events: 1410
Global Events: 20
Global Variables: 652

Looks like i could work on my skills haha
Available for Playmaker work