Can anyone take a look at a code?

lescobar94lescobar94 Member Posts: 25
edited August 2013 in Working with GS (Mac)
I'm making a trivia game in which the next level is unlocked whenever you reach the last question for the current level.

The coding is simple. Whenever that last scene for the level is reached, a behavior changes a boolean attribute to true. Then, the level two button has an if clause that stated that if that attribute is true, then it should become functional but it's not working. Is there a way someone can take a look at this code and tell me is there is something I'm doing wrong?

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    If you can attach a screenshot of the code or upload the screenshot somewhere and link it in your post we can look at it that way.
  • lescobar94lescobar94 Member Posts: 25
    http://postimg.org/gallery/3xkdvk1q/

    This is the idea: the first snapshot is taken from the actor that changes the "Stage 1 Clear" Attribute to "true" and the remaining snapshots are of the Stage 2 button.

    The behaviors for the Stage 2 button are telling it to display a rollover image and change scenes when touch is released if Stage 1 Clear is true. If it's not true, it should change image to a greyed out image of the Stage 2 button and it shouldn't be clickable until the attribute is true.

    The behavior that says "if false" is referring to if Stage 2 is clear, to make sure that people don't go back and play the same level twice to get double points.

    I know its confusing this way but ask if you don't understand
  • lescobar94lescobar94 Member Posts: 25
    If you can attach a screenshot of the code or upload the screenshot somewhere and link it in your post we can look at it that way.
    nvm I just managed to fix this. Thanks anyway!

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Glad you got it sorted. It was gone midnight here when I said upload a pic for people to see so I wasn't around much longer to help. Soz
Sign In or Register to comment.