Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Window size and Resolution question.

Author
Message
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 28th Jun 2009 20:40
How come when I set the Resolution to 800,600 and the window size to 800,600, the graphics sometimes look incomplete? Is there something else that I need to set to make it look right?
Deego
16
Years of Service
User Offline
Joined: 21st May 2008
Location:
Posted: 28th Jun 2009 22:37
What do you mean, incomplete? Post some of your code or post a screenshot.

I set my window like this:



When I remove the line Set Window On, my graphics don't change. But if you have objects or sprites positioned based on the screen size, it could affect things.
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 29th Jun 2009 02:03


Image attached. The "s" are incomplete.

Does the same thing with images.

Attachments

Login to view attachments
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 29th Jun 2009 09:36
that's because when you have a window, the borders are also taken into account. if you use this code, which deletes all the borders and stuff:



you see the letters are fine. if you do it this way, you could code your own border and etc.

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Jun 2009 00:58
If you want to keep the window borders and title bar, there's a command called SET WINDOW CLIENT SIZE in my plug-in set that will allow you to specify the size of the area inside the window.

Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 30th Jun 2009 06:53
Oh ok, thanks Bobbel and IanM. I'll be sure to download it.
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 23rd Jul 2009 13:07
The "set window client size" command just helped me with my screen resolution problem -Re: Blue-GUI!

Thanks yet again @IanM!

Login to post a reply

Server time is: 2024-09-28 08:28:25
Your offset time is: 2024-09-28 08:28:25