NovaSquirrel / NovaTheSquirrel

an open source NES platformer game
GNU General Public License v3.0
202 stars 8 forks source link

Spring+crate race condition #139

Closed NovaSquirrel closed 2 years ago

NovaSquirrel commented 3 years ago

Nova 2 had a bug where if you touch a crate (causing it to turn into a spring, and then turn into air) and then touch the spring (causing it to turn into a pressed spring, then unpressed spring) at the right moment it will schedule popping back up from the spring at a later moment than the block is schedule to disappear and it won't disappear.

I think that's what's going on here too with preventing springs from crates from disappearing sometimes.