NovaSquirrel / NovaTheSquirrel

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

Make toggle blocks not blank the screen. #104

Closed NovaSquirrel closed 6 years ago

NovaSquirrel commented 6 years ago

I think I can do this really cheaply by updating only VRAM and moving the block behavior array into RAM, where I can swap the solidity bits on the two toggle blocks.

Pros: faster toggling (no need to update the level), no screen flashing.

Cons: 256 bytes of RAM, some more complexity.