Ver 1.1 update - Pipe Fix


Heyo! If you played the game before this update, you might have noticed some wonky things going on with the pipes. I was (w)racking my brain trying to figure out what it was, and why I only saw the difference on my Windows PC and not on any of my other devices. I thought it could be anything ranging from relying on using the viewport to set spawn positions to the fact that I developed on a Linux machine and that somehow affected how it ran on a Windows browser. Well, silly me, after consulting with my AI overlords for possible solutions, I realized I was using frame-dependent movement code to move the pipes. A simple (* delta(*60)) here and there and BAM! Problem solved. Beginner mistake, I know. The worst part is I knew I *should* be using delta time, but I figured for a beginner test project it was good enough. I recently did a clean install for my latest Nvidia drivers on my Windows machine and had been experiencing some wonkiness: screen tearing, slowdown, etc. Somehow the fresh install had also turned my refresh rate down to 30hz, not ideal for a 4k gaming PC, while all my other devices were running 60hz. I've since set my Windows hz to something more appropriate, but had the inconsistency of Windows been not so reliable, I might have never caught this mistake in the first place!

Also added proper icons to the music on/off button. Still doesn't work entirely as intended, but meh, close enough. This is likely the only and last update for this game. Thanks for taking the time to read this! Next project is already underway!

Leave a comment

Log in with itch.io to leave a comment.