my game has a bug please help

AEPgamesAEPgames Member Posts: 11
edited June 2012 in Working with GS (Mac)
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

Best Answers

  • EatingMyHatEatingMyHat Posts: 1,246
    Accepted Answer
    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)
  • mynameisacemynameisace Hull, UKPosts: 2,484
    edited June 2012 Accepted Answer
    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

  • AEPgamesAEPgames Member Posts: 11
    thanks all i did was in the redo button put a behaviour change attribute and selected my coin counter attribute and changed it to 0 and it works now, thanks the both of you
Sign In or Register to comment.