TIMER/SCORE DOESN'T STOP

Hey, so pretty new to gamesald.

I have my initial scene where i have a timer that is counting a score of 10 every 0.5secs as my actor travels along.

When my actor dies, it goes to an end of level scene. With a final score on.

Only problem is the final score keeps going up as the timer is carrying on somehow after my actor is destroyed.

Any ideas?

Thanks

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    A phantom timer?!

    Is it possible your actor with the timer behavior is on the end of level scene? You can check by looking at the Layers tab and opening all of the layers to view the actors that have been placed on the scene.

    Are you using a Change Scene behavior to go to the end of level scene?

    What happens if you create a new blank scene and set it up again to display the score?

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

  • MattyB2489MattyB2489 Member Posts: 6
    i am using a change scene behaviour...so when actor collides with (Actor)bird10 it changes scene to end game.... is that wrong?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    No, it's right. I was just wondering. What about the rest of my questions? ;)

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

  • MattyB2489MattyB2489 Member Posts: 6
    HAHA omg you are a genius! My plane was on the end level page behind the background! Something so simple and i've been looking for hours to try sort that out! Thanks!!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    HAHA omg you are a genius!
    If I had a nickel for every time I hear that...





    I'd have at least $0.25.

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

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    And you're welcome! Sometimes having a fresh set of eyes helps. :)

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

  • MattyB2489MattyB2489 Member Posts: 6
    now i just need to get the score to reset when you play the game again.....
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Wherever your rule is that starts the game over, add Change Attribute game.score to 0.

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

Sign In or Register to comment.