Making a timer for a game


#1

I have a student who wants to use a timer in their app. So they have made a while loop that counts seconds up to a 2 minute limit. But at the same time they want to be able to handle events such as the clicking of a button. This doesn’t work with the while loop. Is there a way to have a timer and still detect and handle events at the same time? Thanks in advance…


#2

You need to use timedLoop. Here is a link to a discussion thread about timers in AppLab. I hope this helps.