Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Resolution problems
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SamF




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: 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.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: