How to make a new round of a game?
rabbigarfinkel
Member Posts: 39
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
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
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
- 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.
@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.