-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: [add-pause-functionality] Adds Spacebar Pausing Adds pausing to the countdown timer by using the spacebar key. Also added an input delay in order to avoid pausing happening immediately when the space bar button is pressed. * feat: [update-pause-functionality] Updates Pause Updates the pause functionality with the following: 1. Adds pause font in the lower 3/4 of the screen 2. Changes the button press to require a spacebar instead of 'p' and 'c' 3. Adds an input buffer timeout so you don't accidentally pause and unpause with one button press. 4. When unpausing, adds another call of the draw function so that the 'Paused' text is immediately removed instead of waiting for the next tick.
- Loading branch information
TL Boright
authored
Mar 5, 2023
1 parent
05c5818
commit 10db737
Showing
2 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters