After getting crazy screen jitters with the bird punching code I had added I went back to the drawing board and rewrote the code for punching the bird but this time I simplified things a bit. I still got some scanline issues so I dug deeper and after using the debugger I think a big issue was that with me developing this game over the course of 3 years, there was conflicting audio code. I worked out a couple checks and also tried to make some sounds take priority to prevent a sound code to bug out.
This video does feature an audio bug that I think I fixed - sometimes an audio channel would get stuck on, as is evidenced by the occasional buzz or sound stuck on at Game Over. I think I got rid of the offending code. Originally when I wrote the audio for this game I thought I was being smart and I kind of assigned the channels for different functions, but as the code got more complicated the functions got a bit crowded.
I still have a little more to work out. I get a scanline jump sometimes when the bird is punched or balloon is grabbed but it is much much better.
0 Comments