Full screen actor on top of another...disable actor underneath?

MLCinemaMLCinema Member Posts: 133
edited November -1 in Working with GS (Mac)
Hello All,

I have 2 full screen actors with a few buttons in the middle. Is there a way to disable those buttons with the above actor.

Ex. I am able to use the buttons in the middle to change the scene before the top actors timer runs out and shows the buttons and the bottom actor.

Thank you.

Comments

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    I tell you how I managed to do something simillar:

    I have a background with many actors (this is scrollable), I also have second layer with HUD. So sometimes buttons from background are under the HUD buttons.

    So:

    Every ator in the background has his own integer attribute.
    If touch is pressed: change attribute X to 1.
    If attribute X is 1 do something, and after that change this attribute to 0.

    So, I have a rule in the HUD button:
    If touch is pressed, change attribute X to 0.
    And other rules.

    So when background button is under the HUD button, and player touch this HUD button, then only action from this button occurs.

    Hope that helps!
  • MLCinemaMLCinema Member Posts: 133
    TheMoonwalls said:
    I tell you how I managed to do something simillar:

    I have a background with many actors (this is scrollable), I also have second layer with HUD. So sometimes buttons from background are under the HUD buttons.

    So:

    Every ator in the background has his own integer attribute.
    If touch is pressed: change attribute X to 1.
    If attribute X is 1 do something, and after that change this attribute to 0.

    So, I have a rule in the HUD button:
    If touch is pressed, change attribute X to 0.
    And other rules.

    So when background button is under the HUD button, and player touch this HUD button, then only action from this button occurs.

    Hope that helps!

    Hello,

    I am a little lost. Are any of these Game attributes? I can't seem get to another actors attributes form a different actor. I can get to Game attributes. I am still new to Gamesalad, but this seems like it should be easy. Who knows.

    Thank you for your help.
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Yes, these are all game attributes.
  • MLCinemaMLCinema Member Posts: 133
    Success! Thank you for your help. It was the Game attribute that was throwing me off.

    This is a great community.
  • IncendioIncendio Member Posts: 10
    Brilliant!
  • IncendioIncendio Member Posts: 10
    TheMoonWalls,

    Your solution was brilliant! Thank you.
Sign In or Register to comment.