Screen alignment issues on loading a .ged file
Posted: Sun Dec 16, 2012 5:36 am
Background:
I have two .ged files in my game, which runs in full screen mode at 1360 X 760 resolution on my Windows 7 system. I have used the standard LoadGame function to load a new .ged file for the next game level.
Issue
Upon loading the new file, my screen first goes blank for a couple of seconds and then loads the correct file. However, when it does so, the new file, which is also loaded in full screen mode, is misaligned on my screen. I can see parts of my desktop/background folders on the extreme right of my screen and I can see the task bar and a part of the bottom of my desktop at the bottom of the screen. The top and left of the game seem to be out of my screen area. I'm not sure why the screen is misaligned when it is loaded like like, but I have tested this with two new files with no extra code or objects and it resulted in the same misaligned screen when each of the files loaded the other. The misalignment is not incremental - loading each file using the other multiple times does not increase this misalignment, which appears to be constant throughout.
Would anyone know why this misalignment occurs and how it can be avoided?
I have two .ged files in my game, which runs in full screen mode at 1360 X 760 resolution on my Windows 7 system. I have used the standard LoadGame function to load a new .ged file for the next game level.
Issue
Upon loading the new file, my screen first goes blank for a couple of seconds and then loads the correct file. However, when it does so, the new file, which is also loaded in full screen mode, is misaligned on my screen. I can see parts of my desktop/background folders on the extreme right of my screen and I can see the task bar and a part of the bottom of my desktop at the bottom of the screen. The top and left of the game seem to be out of my screen area. I'm not sure why the screen is misaligned when it is loaded like like, but I have tested this with two new files with no extra code or objects and it resulted in the same misaligned screen when each of the files loaded the other. The misalignment is not incremental - loading each file using the other multiple times does not increase this misalignment, which appears to be constant throughout.
Would anyone know why this misalignment occurs and how it can be avoided?