Hi , i have a problem in my Chessboard algo.
This is my code:
For x As Integer = 0 To screen_width -1
For y As Integer = 0 To screen_height-1
_color =255 * ((((x+mx) Shr 4) And 1 ) xor (((y+my) Shr 4) And 1) )
SetPixelFast(x,y,RGB(_color,255-(x/2),155-(y/2)))
Next
Next
mx = Sin(timer) * 100
my = Cos(timer) * 100
How I can add a Zoom algo in it?