playMaker

Author Topic: [SOLVED] ArrayMaker start pointers?  (Read 2431 times)

DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 111
    • View Profile
[SOLVED] ArrayMaker start pointers?
« on: November 13, 2012, 01:16:58 PM »
[NOTE: This thread might be in a wrong section. Adminstrators should move this to the right topic]

Greetings.

As this question might be directly for Jean Fabre, I will ask it openly, so anyone who knows Playmaker answers it.

I've been reading some threads here about ArrayMaker, but I'm not sure about where to start. And since Jean might have not had enough spare time to prepare some documentation or tutorials, I'm afraid I've got to ask... Where should I start? ArrayMaker, as I understand, allows me to operate with ArrayLists and Hashtables, but... Now what?

Guess I'll be trying some of the ArrayMaker actions to figure how to use it while Jean, or anyone, can respond to this thread and give me some pointers.

Thanks in advance.

[Nov. 15 - Update]
I've been doing some exploration with ArrayMaker, and, following Jean Fabre's answer, it seems that there is no official documentation as tutorials, quick guides and such. As the examples provided seem to be enough to start with ArrayMaker, I'm marking this as solved.
« Last Edit: November 15, 2012, 06:53:03 AM by DARK_ETERNAL »
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8

krakov73

  • Playmaker Newbie
  • *
  • Posts: 28
    • View Profile
Re: ArrayMaker start pointers?
« Reply #1 on: November 13, 2012, 02:09:31 PM »
You get some examples in the package (if you didn't know) including a working invetory. They helped me get into it.

Also take a look at http://hutonggames.com/playmakerforum/index.php?topic=2304.0 - really cool, seems to work like spherecast...needs a layer mask though ;)


DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 111
    • View Profile
Re: ArrayMaker start pointers?
« Reply #2 on: November 13, 2012, 02:31:39 PM »
Just found it. Thanks. Guess it'll be of some help to figure out how does ArrayMaker work.
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8

DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 111
    • View Profile
Re: ArrayMaker start pointers?
« Reply #3 on: November 13, 2012, 03:37:01 PM »
I'm not sure about getting some things.

1. Is the "Reference" thing like a name to the ArrayList / HashTable proxies?
2. When clearing a HashTable, why is it needed to add an ArrayList proxy component as well? I get the reason in actions such as HashTableKeys and HashTableValues, but not for this. I added the ArrayList component, just left it as it was added, and the hash was actually cleared, but I don't get why the ArrayList.

It seems that when modifying the contents of an ArrayList, the editor does not repaint it, but this is more likely to be a Unity issue, since I've got this issue much before using ArrayMaker.
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14692
  • Official Playmaker Support
    • View Profile
Re: ArrayMaker start pointers?
« Reply #4 on: November 13, 2012, 11:10:58 PM »
Hi,

yeah... some proper tutorial would be welcomed I know :) version 1 will have proper documentation and step by step tutorials.

1. Yes "Reference" is the name of the ArrayList or Hashtable proxy that you explicitly use in Actions. you ONLY NEED this reference when there are more than one arrayList on the same GameObject or more than one hashtable on the same GameObject. Else I can't know which arrayList proxy you mean, you might want to access the second component in the stack, but referencing the gameObject itself to get to a component will return the first one always, unless I have some kind of author defined "reference" to go through the whole list of components and pick the one you want to work with.

2. That is a bug, thanks for spotting that! The action is now corrected and you can get it attached or download the package from the wiki again ( I updated it)

3: You have to tick the option "Live Update" in the ArrayList component Inspector. Have you done that?


Bye,

 Jean

DARK_ETERNAL

  • Full Member
  • ***
  • Posts: 111
    • View Profile
Re: ArrayMaker start pointers?
« Reply #5 on: November 14, 2012, 08:29:14 AM »
Many thanks, Jean.

Although I don't quite need ArrayMaker for anything instead of learning, it's good to know you give such a careful support. I actually didn't think the ArrayList thing as a bug, but I'm glad to have noticed you about that. About the 'Live update' check, I didn't do that. Gonna try this later.
Check out our new game: Nitro Chimp. Now live in App Store!

Trailer:
Download: https://itunes.apple.com/app/nitro-chimp/id557150450?l=en&mt=8