3 ms·
Not all the memory each frame, right? You only read once to calculate and then read the entire memory once again to write.
by arjie 9y ago
Not all the memory each frame, right? You only read once to calculate and then read the entire memory once again to write.
- tinus_hn 9y agoNo, you have to calculate once and then read and compare the value for each pixel every frame to decide if it's time to turn it on. It can probably be done because the system doesn't really have anything else to do on a game over screen but it's still a waste.
- arjie 9y agoAh no, you don't set pixel to frame number. You set frame number to list of pixels. Same memory, but you only read the pixel corresponding to which frame you're on.