it's call every time an horizontal line of pixel is draw. In this way you can create some special effects. I believe is a reminiscence of some hardware interrupt of the CRT monitor era. Look at the code in the game, it's used to give that blue fade effect.
← Return to game
Comments
Log in with itch.io to leave a comment.
Even before you give some example 😛.
Freaking awesome, but sadly the most interesting part of the game.
OMG you are using scanline trick :)
what's a scanline trick?
It's a function with the firm: scanline(line)
it's call every time an horizontal line of pixel is draw. In this way you can create some special effects. I believe is a reminiscence of some hardware interrupt of the CRT monitor era. Look at the code in the game, it's used to give that blue fade effect.