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 Professional Discussion / Missing lines (probably display mode problem)

Author
Message
Wobbelwap
16
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Metropolitan Soesterberg
Posted: 9th May 2010 00:43
I've written a program that draws a grid on the screen. However some of the horizontal lines are thicker then others, although they are drawn in the same way. When I change the display mode, some lines disappear all together.

From some discussions about display modes I understand that images get distorted when the display mode doesn't match the preferred mode of the monitor. But how can you possibly write a good game or application with this side effect?

I mean, I never see this happening in other software I use.

(I use a CRT by the way)
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 9th May 2010 02:18
What about making the grid with lines?...or perhaps a ghosted plain with a texture ....

cheers.

I'm not a grumpy grandpa
Wobbelwap
16
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Metropolitan Soesterberg
Posted: 12th May 2010 23:37
Thank you for your help. Actually I was using lines to make the grid. The other option you mentioned is bit to advanced for me

But luckily I found out what caused my problem. If you set the display mode to for instance 640 x 480 and then maximize the window, the window is stretched out. That will make some lines become thick and others thin. When the display mode is bigger then the actual screen size, the window will shrink its contents. So lines will disappear.

What I hope to achieve now, is that my DB window will overlap the Windows taskbar. So I can just pick my screens resolution and fully use it for my program. But I haven't found a command that will let me do that.
Wobbelwap
16
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Metropolitan Soesterberg
Posted: 13th May 2010 01:21
Set Window Off.

I should look better before posting any questions....

Bogus is my middle name, what's your excuse?

Login to post a reply

Server time is: 2026-07-26 04:28:05
Your offset time is: 2026-07-26 04:28:05