I am working on a tile based platform game and have found a strange problem when someone maximizes the swf to full screen. I think I know what causes it but am wondering if there is a way to fix it.
My tiles are all 25×25 pixels big and when someone presses full screen very small lines appear throughout the screen in between the tiles. What I think this is, is flash increasing the size of the tiles but instead of doing a 1:2 ratio (for instance 25×25 becoming 50×50) it is adjusting it to a slightly different size based on the persons screen size. So instead of going 1:2 is might be going 1:2.01 so the tiles go from 25×25 to 50.25×50.25.
What this can do is really mess up my hitTestPoint tests with the player against platforms because the lines shift the tiles slightly.
Anyone know exactly whats happening or how to fix it?
|
||||||||||||