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 / Dislpay resolution - HELP!!!!!!!!

Author
Message
JSCskycap
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Townsend, MA, USA
Posted: 22nd Sep 2003 08:19
Well, now that I just re-registered, I have a serious question rgarding DB's SET DISPLAY command. I am continuing my work on my airline simulation and have several screens designed in 1024x768. When I run a display check on that res, I'm returned a 1 but when setting that display in the program, I get black screens - no bmps. When I skip setting the screen res, I get the bmps, but they are only partially on the screen, as they are too big for 640x480. Anyone know what's going on here? Thanks!

John
heartbone
22
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 22nd Sep 2003 08:43
If you are using one of these statements
Set Display Mode 1024,768,16
or
Set Display Mode 1024,768,32
and
you have a Sync command after the load or creation of graphics
and
you are placing the graphics into bitmap #0
,
then you have a problem that is out of my league.

The more you see, the more you know.
The more you know, the more you see.
JSCskycap
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Townsend, MA, USA
Posted: 22nd Sep 2003 09:13
Hey, thanks for the unbelievably fast response! Anyway, I just revisited my program and for some reason, it now works! (?!?!) I may have done something as stupid as forgetting the word MODE in the command line. I found it odd that when I ran it in a window it worked and when I 'remmed' out the window commands, it still worked. Oh well, IT WORKS NOW! Thanks!

John

Login to post a reply

Server time is: 2025-05-20 20:33:27
Your offset time is: 2025-05-20 20:33:27