Computer Science Canada

Resolution problems

Author:  SamF [ Tue Jan 05, 2010 7:12 pm ]
Post subject:  Resolution problems

What is the problem you are having?
I made a computer program on my laptop using 1280 x 800 but the school computers are 1024 x 768 and the program doesnt function properly because the drawings are bunched up together.


Describe what you have tried to solve this problem
I have tried ("graphics:1280;768") and ("graphics:1024;768") on turing. The 1280x768 works fine, the graphics arent bunched up, but i have to scroll up and down every 2 seconds so i can use the program on a school computer. 1024 x 768 doesnt work, the graphics are bunched up. How can I fix this without relocating all my drawings?


Please specify what version of Turing you are using
4.1.1

Author:  Dan [ Tue Jan 05, 2010 7:25 pm ]
Post subject:  RE:Resolution problems

There probably is no easy fix. When you make programs that will run on a range of screen resultions the location of the images should be relative to the screen size (which can be found using maxx and maxy) and not set at a fixed location.

In theory you could dived all your x values by 1.25 to try and map them to the lower (1024x768) resolution.


: