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 / The case of the big/mean display mode error.

Author
Message
Ooska
20
Years of Service
User Offline
Joined: 29th Aug 2004
Location:
Posted: 23rd Jul 2005 03:46
I started this game out on a full screen format...but i realizd that it was wa too easy...I swichted all the x and y values (I think) and then I tryed to use the SET DISPLAY MODE and it comes up with an error that says in a big angry voice, "DISPLAY MODE NOT SUPPORTED!"
HUH?!

Weird = Unique. Unique = Human.
Im human.
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 23rd Jul 2005 04:13 Edited at: 23rd Jul 2005 04:15
means that your graphics card doesnt support that display mode, you'll have to choose a display mode that your graphics card can do...

edit: there's an example that shows you what display modes you can have... just click 'help' (in the DBC editor), then examples, then scroll down till you find a section called 'screen examples' (i think), then click on the example called 'display mode switching', then run that code, and it tells you what display modes you can use

Your signature has been erased by a mod because it's larger than 600x120...
Ooska
20
Years of Service
User Offline
Joined: 29th Aug 2004
Location:
Posted: 23rd Jul 2005 04:36
ok I saw but i didnt really look into it...thanks

Weird = Unique. Unique = Human.
Im human.
Ooska
20
Years of Service
User Offline
Joined: 29th Aug 2004
Location:
Posted: 23rd Jul 2005 04:45
Ok, I used that program and it told me what I could use. But I have one question about what SET DISPLAY MODE does....

Does it set your programs screen size?
If not, what does? (thats what I need)

Weird = Unique. Unique = Human.
Im human.
Ooska
20
Years of Service
User Offline
Joined: 29th Aug 2004
Location:
Posted: 23rd Jul 2005 08:12
Anybody!?

Weird = Unique. Unique = Human.
Im human.
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 23rd Jul 2005 11:39
Ooska,

In better terms, the command sets your screen's resolution and color bit depth. Resolution is how many pixels across and how many pixels from top to bottom of the screen. A standard of mine is 800X600X32. That is 800 pixels across, 600 pixels from top to bottom, and 32 bits of color. If my math is correct, that is 4,294,967,296 colors.


+NanoBrain+
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 23rd Jul 2005 20:06
Yes, oddly, it does ALSO set your program's screen size.

Thus, to make a window 800x600:

Quote: "
set window on
set window size 800,600
set display mode 800,600,32
"


Kinda stoopid, but there ya go. ^_^

How's my typing? Phone 0800-GO-TO-HELL
Ooska
20
Years of Service
User Offline
Joined: 29th Aug 2004
Location:
Posted: 24th Jul 2005 06:23
But you cant just make your window any size?

Weird = Unique. Unique = Human.
Im human.

Login to post a reply

Server time is: 2025-05-22 13:42:00
Your offset time is: 2025-05-22 13:42:00