This is my first pico8 game, it is a super simple pomodoro timer. You press z and the first bar will slowly fill for 25mins. You have no option of stopping it, so you have to keep working. Then when it is filled you can press z again to start the next one. I use it for work.
Years ago I wrote a program called SNOOZER. In it you could specify breaks 15-min, 30-min, 1-hour, 2-hours. And it would pick a random picture from the folder.
But before it showed it, you would get a warning chime 15-seconds before your break. Kind of encouragement to save your work.
After that time, the random picture faded in. And you had based on the time you chose a 5-minute break, 10-minute break, 15-minute break, 20-minute break.
And it would play a random selection of MIDI from another directory.
2-minutes before break time ended you would hear the get-ready chime. Then the music would fade as the "timeout" screen did and you would be returned back right back where you left it in the proper Windows application.
During its use it created a little icon that showed a pendulum moving every second, and you could click on it to bring up a menu to force a break, skip a break, disable break (but still keep code up), re-enable (if disabled), or exit.
I wrote it in GFABasic years ago and some of the pictures I had were of famous movies with a little text bubble I added:
Ratatouille: (knives are all around him)"While I figure a way out of this, you need to take a break."
Terminator 2: "You are not a machine like me. Take your break NOW."
Shrek: "Better out than in I say, and it's time for you now to go out and take a break."
It was all silly stuff.
This program reminds me a little of that.
I've never heard of Pomodoro though before this time.
I initially wrote the program for my Dad as he spent long hours working on code. Ultimately I used it myself.
I want your program to work. This works. Try this. Open your program Online not in a new tab but a new WINDOW.
In Firefox, that would be: CTRL-N
Then let it run in the background and you can hear it when the alarm goes off.
Here's a star ⭐
and favorited. ❤
Planning on using your program NOW. :)
[Please log in to post a comment]