Today I was working on my Jill of the Jungle game when I noticed something odd. Any image that's position is tracked with floats becomes blurred when moving it around the screen. Here is a simple example that gives me the same problem on two different machines.

Press down to move Jill and you'll notice the top and bottom of the image doesn't appear the same when at certain positions. This is causing every tile in my map to randomly change from 16 to 17 pixels tall. Why does this happen and how can it be fixed?
Graphics 320, 240, 32 SetMaskColor 255, 0, 255 img = LoadImage("jill.png", MASKEDIMAGE) Local jY# = 15 SetColor 255, 255, 255 Repeat Cls DrawImage img, 50, jY DrawText jY, 1, 1 If KeyDown(KEY_UP) Then jY:-.1 ElseIf KeyDown(KEY_DOWN) Then jY:+.1 FlushMem; Flip Until KeyDown(KEY_ESCAPE)Required Image:

Press down to move Jill and you'll notice the top and bottom of the image doesn't appear the same when at certain positions. This is causing every tile in my map to randomly change from 16 to 17 pixels tall. Why does this happen and how can it be fixed?