Possible Glitch in game Reset?

I have a shooter game where once (lives < 0) then it moves you to the "Game Over" room. You then have an option to reset and play the game again. You are moved to the game room, then all the variables are reset, except some rules are not followed. For instance, when you click the rest game button, you can have -5 lives, and you wont be moved to the next room. I've tried many solutions but havent been able to find out what I'm doing wrong. Any tips or advice would be great. :)

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Either post a screenshot of your reset rules or a link to download your project file. It's probably a simple fix but it's impossible to know without seeing the rules.

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

  • mounted88mounted88 Member Posts: 1,113
    Make sure when it resets that your
    Game.life=5 that will reset your life's back to 5. I'm pretty sure that's what your referring to is your life's aren't resetting.
  • asdfGamesasdfGames Member Posts: 15
    Tatiang, I uploaded the screenshot to my website. go to "j1sfamily.com"
    if you need more information, I can email you a copy of my game. This glitch has been very frustrating and I want to get it fixed.
  • mounted88mounted88 Member Posts: 1,113
    Is that after the level has resetted? Or when a player dies?
  • asdfGamesasdfGames Member Posts: 15
    After it has been reset. Heres how it works, you start the previewer, it works great. When the player runs into an astroid, it resets the astroid falling and takes away a life. Once you lose all lives you go to the lose screen. Once you click the "play again" button, the score and accuracy reset to 0, the lives to 3. Except now once you run into an astroid, it takes away a life, but doesn't reset them falling, just takes away a life violating a rule. Also, your able to go below -1, which is shown in the screenshot.
  • mounted88mounted88 Member Posts: 1,113
    Your going to need to upload the project file some where like media fire, so people can take a look just showing that one rule isn't going to be enough to help you.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Your going to need to upload the project file some where like media fire, so people can take a look just showing that one rule isn't going to be enough to help you.
    That's not the rule I'm interested in, either. I need to see where you are resetting the attributes. But yes, please upload the project file after compressing it into a .zip file. You can use media fire, dropbox, etc. Send me a PM with the download link or post it here.

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

Sign In or Register to comment.