How to make a new round of a game?

Hello,

I'm making a memory game in which a randomly generates license plate number briefly appears on the screen and the player has accurately report what the plate number was.

I can make one round of the game, but I'm having trouble making a new round with a new number. I've tried using a an off screen actor to spawn the new round every time a "go again" Boolean value is true, but that didn't work.

How would you approach this?

Thanks,

Eli

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    If you have your data in a table, you can just choose a different row or delete the current row of data and choose a new one.

    Otherwise, you need to reset your attributes for the "next round." And yes, using a boolean (e.g. game.reset) is the way to go. If you're having trouble, post a screenshot of the reset actor's rules and we'll see what we can figure out.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • MobileRocketGamesMobileRocketGames Member Posts: 128
    edited April 2013
    Just create a button or rule that says when this is pressed or this is true/false or whatever, then do this;
    • Change a table value or attribute value (just create a game attribute named Score or whatever it is you are saving) to whatever the score was or whatever the info is you wish to bring over into the next round.
    • Change all attributes related with the game system back to their initial states.
    • In the next round, reference that table value or attribute value that you modified in step 1.
    After typing that up it seems stupidly simply doesn't it?
    As a side note, your game doesn't sound very fun.
    Please don't take that personally.

  • rabbigarfinkelrabbigarfinkel Member Posts: 39
    @tatiang, tank you.
    @MobileRocketGames - no offense taken. I've decided you're right and scrapped that idea. But the table tip will work for something else down the road.
Sign In or Register to comment.