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.

DarkBASIC Discussion / Full screen in dbc

Author
Message
Kwiki Mart
21
Years of Service
User Offline
Joined: 9th Dec 2003
Location: PA
Posted: 23rd Dec 2003 04:28
When I run my 2D game in DBC I find that the 640 and 480 size of my screen is off by alot. I am only displaying aout 610*465 or so. My monitor is adjusted and theres a black border on the right side of the screen that blocks the rest of the screen. Anyone elese have this problem or any ideas on how to fix it?

On target, On time!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 23rd Dec 2003 06:15
adjust you monitor...

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 23rd Dec 2003 09:30
In your loop, at the top, after any Cls commands, put in:



And see what it says, if it says anything other than 640 x 480, then there is a problem, but otherwise, it should be fine...

Hope I Helped...

PS in window'd mode, don't forget that the start bar ( at the bottom of windows, dur ) takes up ~10 pixels of your res, and doesn't get covered by any windows...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Kwiki Mart
21
Years of Service
User Offline
Joined: 9th Dec 2003
Location: PA
Posted: 26th Dec 2003 18:48
Well I found that it just appeared that i had a problem. I made a 640*480 bit map with lines and found that it displays the whole pic. I still have a border on the right side of my monitor. but all the pixels are there.
thaks

On target, On time!
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 27th Dec 2003 01:00
Its probably to do with the refresh rate of your monitor - it will require different ones for different resolutions.


The place for all great plug-ins
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 27th Dec 2003 04:35
If you have DBC 1.13 Enhanced, I have a functino that i made that simulates a full-screen app, but is actually a window... ( You may lose some FPS though. )



That is just an example, to use it practically, use:


Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-22 06:01:32
Your offset time is: 2025-05-22 06:01:32