recognized last card, go to next screen behavior

JolandaJolanda Member Posts: 82
edited November -1 in Working with GS (Mac)
Hi,

Does anybody know the behavior for this:

I make a kids game.
If kids done everything well on a page, such as: put the cards on the right place and so on...
But only when they are done to put the LAST card on the right place, i need a behavior that the system know (recognized) that the child have all cards placed and there are no more cards, and can go on to the next screen.

If anybody knows this behavior, please also tell me where to put this behavior.
Thanks

Comments

  • AsymptoteellAsymptoteell Member Posts: 1,362
    Whenever a card is placed, change a game attribute (let's call it places) to places+1. Then, when game.places = however many cards there are to place, go to next scene. that should work.
  • AsymptoteellAsymptoteell Member Posts: 1,362
    I think tshirtbooth means when it =5.
  • JolandaJolanda Member Posts: 82
    Sorry, but i put both behaviors in each card, but it didn't work.
    Where i have to put them?
    And thanks for your answers.
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Put them in any actor that stays on screen for the entire time.
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    use a global attribute and use off screen actor to check them
  • JolandaJolanda Member Posts: 82
    I know it sounds stupid, but it doesn't work here. Is there a video for this or a similar project?
  • elgenaroelgenaro Member Posts: 14
    joenka said:
    I know it sounds stupid, but it doesn't work here. Is there a video for this or a similar project?

    Go check the Youtube Gamesalad channel and do the tutorial, it explains this and a lot more
  • JolandaJolanda Member Posts: 82
    I know you mean well Elgenaro, but i have seen many video's tutorials earlier, but i can't find this behavior.
    Does anyone knows a tittle i can search for this specific behavior?
  • AsymptoteellAsymptoteell Member Posts: 1,362
    If you can't get it to work, just send me the game file with an email at asymptoteell@aim.com and I'll look at the code to see why this isn't working.
    Asymptoteell
  • JolandaJolanda Member Posts: 82
    Thank you very much asymptoteell, i will email you at the end of the day, ok?
    And for all other persons, thanks for your help!
  • AsymptoteellAsymptoteell Member Posts: 1,362
    It's 1:30 am now here, so I'll look at it tomorrow.
Sign In or Register to comment.