The attached file when run shows the screen such that some pixels appear to be missing from the right edge (looks like 2?).
Designer screen size is set to 320 x 240. I cannot see any problem with the code to account for this. The grid is 15x15 and each white area is 15x15 pixels and each line is 1 pixel and there is no line right and bottom.
The GameWindow has width & height set to 240, at first I thought the four figures were coords. and so the solution would have been 239, but not so.
Can anyone see the cause please?
Designer screen size is set to 320 x 240. I cannot see any problem with the code to account for this. The grid is 15x15 and each white area is 15x15 pixels and each line is 1 pixel and there is no line right and bottom.
The GameWindow has width & height set to 240, at first I thought the four figures were coords. and so the solution would have been 239, but not so.
Can anyone see the cause please?