playMaker

Author Topic: PlayMakerArrayListProxyInspector - minor capitalization error  (Read 2609 times)

Jos Yule

  • Playmaker Newbie
  • *
  • Posts: 33
    • View Profile
In line 68 of the PlayMakerArrayListProxyInspector.cs file:

Code: [Select]
proxy.showEvents = EditorGUILayout.Foldout(proxy.showEvents, new GUIContent("PLayMaker events" + eventsEnabledString, "Manage PlayMaker events dispatch"));
You can see in the GUIContent() call that "PlayMaker" is improperly capitalized.

FYI.
      

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14471
  • Official Playmaker Support
    • View Profile
Re: PlayMakerArrayListProxyInspector - minor capitalization error
« Reply #1 on: May 14, 2012, 01:05:01 PM »
hi,

 Well spotted :)

 I like to think that when such typos are found, it means the rest is working pretty well :) right?

 How are you doing with ArrayMaker? Interested to know because I developped it really to answer my personal needs, so your point of view on how this is executed and what you'd like or whish to have is always good to know.


 Bye,

 Jean

Jos Yule

  • Playmaker Newbie
  • *
  • Posts: 33
    • View Profile
Re: PlayMakerArrayListProxyInspector - minor capitalization error
« Reply #2 on: May 16, 2012, 06:39:09 AM »
Well, i'll let you know as i keep using it.

My current use-case is for a card-like game.

One thing i am noticing is that i need to loop over data all the time, and i'm not sure if using a FSM to create my looping constructs is really the right way to do it [1]. I'm worried that i'm creating states which are really more akin to functions, rather then a "state" of the application.

I think that i need to move some of the logic out of the state itself and into a script, and then use "Invoke Method" to actually do a bunch of the work.

Perhaps i should ask for a Loop Action :)

Jos

[1] - I have a State which does some work. It then increments and checks a "counter" variable. If the value is less then X, it fires a "continue" event, which is routed back to itself. If the value is equal or greater then, fire the "FINSHED" event and continue on. Love to hear of other ways of doing this kind of thing.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14471
  • Official Playmaker Support
    • View Profile
Re: PlayMakerArrayListProxyInspector - minor capitalization error
« Reply #3 on: May 17, 2012, 05:04:13 AM »
Hi,

 The way you do it currently is fine, and will work with any actions.

 Now, Alex introduced a while back a wonderful trick with actions ( study the GetNextChild action script), that simply allow you to actually loop within an action without doing what you described ( I do that as well, so again, nothing wrong with this).


 The thing is, I had already done the work for arrayMaker, and since, I haven't yet found the time to do them actions. But now, here it is!

http://hutonggames.com/playmakerforum/index.php?topic=835.msg6941#msg6941


Also, There is another thread on card games and arrayMaker, that might be of interest if you are not already following it.

http://hutonggames.com/playmakerforum/index.php?topic=1470.msg6935#msg6935

 Bye,

 Jean