diff --git a/pixler.bas b/pixler.bas index a81a7fd..ab6d5ad 100644 --- a/pixler.bas +++ b/pixler.bas @@ -46,7 +46,7 @@ _dest layers(0).ihandle addcommand "canvas ("+str$(_width)+","+str$(_height)+")" for y = 0 to _height - 16 step 16 for x = 0 to _width - 16 step 16 - if ((x / 16) + (y / 16)) mod 2 = 0 then + if ((x + y) / 16 AND 1) = 0 then line (x, y)-(x + 16, y + 16), _rgb32(127), bf else line (x, y)-(x + 16, y + 16), _rgb32(192), bf