Hi guys.
I was playing with the sprite 0 hit yesterday and noticed something that never came to my mind before. The hit was detected at slightly different times, I think because the CPU can not be perfectly aligned with the PPU and we have to check the hit in software, with CPU code, then it is natural that it varies a little on the timing.
But is there a way to have the detection take place at the exact same pixel every frame? I tried waiting for the hit still inside the NMI, since it should (in my head) fire at the exact same time every frame. With only constant timed code inside the NMI the hit detection would still vary a little. Am I trying to do something impossible here?
Thanks for the help.
I was playing with the sprite 0 hit yesterday and noticed something that never came to my mind before. The hit was detected at slightly different times, I think because the CPU can not be perfectly aligned with the PPU and we have to check the hit in software, with CPU code, then it is natural that it varies a little on the timing.
But is there a way to have the detection take place at the exact same pixel every frame? I tried waiting for the hit still inside the NMI, since it should (in my head) fire at the exact same time every frame. With only constant timed code inside the NMI the hit detection would still vary a little. Am I trying to do something impossible here?
Thanks for the help.