emm, happens only in full screen ...
me look for it
.. agree its different from using a line
its something for paul.
// set window properties
SetWindowTitle( "WonkyBoxes" )
SetWindowSize( 1024, 768, 1 )
// set display properties
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 1, 1, 1, 1 )
colour_white = MakeColor( 255,255,255 )
sx = 100
sy = 100
squareSize = 36
gridSizeX = 10
gridSizeY = 10
do
for by = 1 to gridSizeY
for bx = 1 to gridSizeX
xpos = sx + (( bx - 1 ) * (squareSize+2) )
ypos = sy + (( by - 1 ) * (squareSize+2) )
//DrawBox( xpos, ypos, xpos + squareSize, ypos + squareSize, colour_white, colour_white, colour_white, colour_white, 0 ) //wonky
MyBox( xpos, ypos, xpos + squareSize, ypos + squareSize, colour_white)
next bx
next by
if GetPointerPressed() then exit
Sync()
loop
end
function MyBox(x,y,x2,y2,color)
DrawLine(x,y,x2,y,color,color)
DrawLine(x2,y,x2,y2,color,color)
DrawLine(x,y2,x2,y2,color,color)
DrawLine(x,y,x,y2,color,color)
endfunction
AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)