VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fixed flickering, still find out problem with left DiscoStew (4 replies, 0 views) (2001-Mar-7) Within your code where you draw your map, you put...
TileModX = Int(PixelModX / 40) + 1
TileModY = Int(PixelModY / 40) + 1
...the change I did is the following...
TileModX = PixelModX \ 40
TileModY = PixelModY \ 40
...I just remove the Int expression and the +1, and I changed the Divide operator with the Divide-Int operator. It seems to fix the flickering problem when you move.
I'm still trying to find out what the left-side is doing wrong. I'll reply on this forum when I find it.
|