Text() on Mac causes program to pause


#1

This problem occurs on Apple computers, but not not on Windows. The code below comes from a simple game. When the condition is true, the program (on a Mac), stops for a few seconds, and then displays “You Lose.” When run on a Windows computer, there is no pause. Is there a way to prevent the pause on a Mac?

if (rainDrop.checkForReachBottom(height)) {
    text("You Lose", width/2, height/2);
  }