You are browsing as a guest. Sign up (or log in) to start making projects!

1h 48m logged

Almost done! Got the delay nearly fully gone with the help of itch user kevinthompson who showed me how coroutines work. I used the coroutines to split up the code that generates a digit of pi after each correct guess over many frames, so it will run at about 50% speed for like a second and then continue on lag free. There was also an edge case there, if the digit hadn’t finished generating and you picked the correct digit, it would say it was wrong! To solve this I made the game just wait for it to finish, and added some static noise to it so you would know it was intentional. Definitely not a perfect solution, but as good as I’ve come up with. I’m also considering adding music to the background, but I haven’t figured it out yet. Kind of annoying for sure…

0
11

Comments 0

No comments yet. Be the first!