Is this a bug or am I doing something wrong?

LordTarantorLordTarantor Member, PRO Posts: 890
edited November -1 in Working with GS (Mac)
Hello everybody:
I wanted my game to make a sound every time the score goes up. Instead of putting a rule to make this happens in every instance (102 instance per scene) I created an attribute and called Comparescore.
I created a time of .01 second that changes the compare score to the real score.
Then created a rule that say: When attribute score is not equal to compare score - play the sound.
When an instance is pressed the score goes up. The problem some times it does not make the sound in some random instances. It doesn't happen always in the same instances and it doesn't happens all the time but most of the times it does.
Is this a bug perhaps a GS timer bug or am I missing something?

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    I find that .1 seconds is way too short of time when playing. For example, I have a bubble popper game; my cannon fires a shot and then randomly generates another ball color for the next ball to be fired. I found that at .1 seconds sometimes 2 balls were being fired with one click. When I shortened it to .3 seconds I no longer get the "double shot" problem.

    Maybe give that a try and see if that helps.

    (Or, ask this question later tonight when TshirtBooth is online and some of the other more advanced GS users can help with this issue.)
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Thanks Doc I will try that now. If some one knows different please help!
Sign In or Register to comment.