GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Regarding access to other actor's attributes..

johntech80johntech80 Posts: 1Member
edited August 2012 in Working with GS (Mac)
Hi, just starting out with Gamesalad and loving it!
But running into some limitations and hoping someone can shed some light.

Basically we have a letter game.... with letter and box prototypes. The goal is to put some letters into boxes to spell words.
We could create all of the instances of the letters on the scene initially but we want to minimize that by using spawner for the letters.

The problem: Is there any way for a letter to access a box's attributes or vice versa without dropping all of the letters and boxes onto the scene?

I've tried to do this through the prototype, but the prototype can't access the attributes through the Current Scene > Layer > Letter > AttributeX because current scene is NOT visible from prototype.

Any help is much appreciated.

-John

Comments

  • MotherHooseMotherHoose Posts: 2,456Member
    have you tried this with tables?

    the boxes' X;Ys can be in a table …
    the spawned letters can reference those tableCellValues

    image MH
This discussion has been closed.