Timers not working

I have a timer counting down in my game. I am also using a custom font with the timer. For some reason the timer will not count down normally. It keeps flashing random numbers and doesn't work. Does anyone know of a fix?
I am using (Timer - every 1 sec - change attribute timer - to timer-1)

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    There's a bug in the stable build of Creator that causes integer count downs to fluctuate occasionally into decimals. So if you are subtracting one every second you might see 10, 9, 8, 7, 6, 5, 3.999994215, 2, 1.999977, 1, 0, etc. I believe this or a related bug have been fixed in the Release Candidate and the newest Nightly Build.

    Try putting a log debugging statement in the timer so that you can see the value of the attribute(s) used in the timer and watch as they change.

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

Sign In or Register to comment.