my game has a bug please help
![AEPgames](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
hi everyone i need help with a bug in my game,
the objective of my game is to get two balls in a pot by knocking down crates and walls and what not, when the balls hit the floor, its game over.
the game works fine when the two balls go into the pot, but when one does not, there is a redo button. when one ball has gone into the pot and i press the redo button the scene resets but when i only get one ball in the pot this time (instead of two) the 'you win' scene shows up but i only got one ball in, and i need your help to fix it PLEASE HELP
the objective of my game is to get two balls in a pot by knocking down crates and walls and what not, when the balls hit the floor, its game over.
the game works fine when the two balls go into the pot, but when one does not, there is a redo button. when one ball has gone into the pot and i press the redo button the scene resets but when i only get one ball in the pot this time (instead of two) the 'you win' scene shows up but i only got one ball in, and i need your help to fix it PLEASE HELP
Best Answers
-
EatingMyHat Posts: 1,246
Nobody can fix your bugs for you (with the exception of some GSers which do offer such services), but here are some suggestions:
1. Check your rules
2. Using reset scene is not a good choice (load time)
3. Reset scene does not reset your game attributes (very common mistake) -
mynameisace Hull, UKPosts: 2,484
As @EatingMyHat says (whilst offering up an impressive 4 fingered rock horn) your problem is probably in your game attributes.
What you need to do is in the rule just before you reset the scene, add a few change attributes to change all the game attributes to how they were at the start of the scene and everything should be fine and dandy!
Looking at what you said, it's the attribute that counts how many balls are in the pot that needs to be changed to 0.
Ace
Answers