So I've been working on an American Football clock. The code I created is a bit complicated, but you don't need to know anything about American Football to understand what I'm trying to do:
1. Press 'o' to activate movement of the blue dot
2. Use the arrow keys to move the blue dot
3. When you press 'o' that kills the :40 clock
4. When the blue dot collides with the red dot, the blue dot counts up to '5'. When it hits '5' that signals a "tackle" is finished, and that should immediately reset the :40 clock to :40.
Now here is where the problems start...
-The :40 clock hangs for a second or two instead of starting immediately at :40
-The clock shows the '0' first before showing :40
-If you allow the gameclock to run all the down to zero, sometimes it will glitch and show text overlap of numbers that should've disappeared.
-There are some slight issues with accuracy. When the :40 clock (on the right) goes below :10 and you press 'o' to activate the blue dot's movement, the first zero doesn't go invisible. I have code in place for it in line 32, but for some reason it's not triggering.
-If I press 'o' after the playclock is below :10 AND I then have the blue dot collide with the red dot, a strange glitch occurs where the :0 stays visible while the clock is running down. I'm sure it's something in the code causing it, but for some reason I can't find it.
File: Unavailable due to upload expiration.