Devlog #5:
So turns out that I was correct and I did not get the timing trainer done in two hours (as you can see, it took me 4).
The program works now. I completely rewrote the program’s code, which probably isn’t the best way to deal with code that absolutely sucks but whatever. Essentially, when the program starts, a circle moves across the screen repeatedly. Every time the circle moves across the screen, you have to hit it just as it crosses the line in the middle of the screen. I was testing the proram with my trackpad, and since it’s like delayed by A LOT, I had to click like a full 100 milliseconds before the circle reaches the line in order to be accurate. That’s why I added ability to use keyboard also. I mean, that’s probably not the entire reason, but yeah.
I also wrote 3 entire functions to get accuracy, remove any suffixes to numbers, and get the dimensions of the screen. They were actually pretty fun to make. I might consider creating like a library or something in the future to make people’s lives easier.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.