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 / Display using 32 bit is not supported by available hardware at line 0 (Help!)

Author
Message
AmazingGaming
12
Years of Service
User Offline
Joined: 23rd Sep 2012
Location: Good Question....
Posted: 23rd Jun 2013 05:02
Hello and I am having a serious problem. No matter what I do when I set my display mode to whatever screen resolution, I constantly get this error. Is there anyway to get past this problem?

it exactly says the following..
Quote: " Runtime Error 1507 - Display using 32 bit is not supported by available hardware at line 0 "


First of all there is no line 0! So what on earth is this? lol

I am kinda new to dbpro just starting to learn so no hardcore/advanced solutions that would be nice
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 23rd Jun 2013 05:09
Does it work if you do not use the command?

You should check if the display mode is available or not before setting it. For this, you can use the command check display mode.

You can also retrieve a list of available display modes with the command perform checklist for display modes.

To find out more about the commands, you can press F1 when you're inside the DBP editor to bring up the help pages.

TheComet

AmazingGaming
12
Years of Service
User Offline
Joined: 23rd Sep 2012
Location: Good Question....
Posted: 23rd Jun 2013 05:13
@TheComet

hmm..none of that seems to work..but I just ran the FPS example project and I can play that just fine. I dont understand what the issue possibly could be
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 23rd Jun 2013 05:19
Can you post the code you're using to set the display mode?

TheComet

AmazingGaming
12
Years of Service
User Offline
Joined: 23rd Sep 2012
Location: Good Question....
Posted: 23rd Jun 2013 05:22 Edited at: 23rd Jun 2013 05:46
@The Comet

Sure thing



EDIT

I fixed it! I just had to goto properties and set the resolution the same as my desktop resolution and it works!
Mage
Valued Member
18
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 23rd Jun 2013 11:37
You need to look in the help files and find out how to check for available display modes.

If you expect other people to be able to play your game, you need to design your game to gracefully support multiple resolutions and aspect ratios.

Inflictive
15
Years of Service
User Offline
Joined: 16th Jun 2009
Location: Altis
Posted: 24th Jun 2013 03:48
Try using:

set display mode desktop width(),desktop height(),32

That's the best way to do it unless you're going to make an options page with a resolution setting.

Login to post a reply

Server time is: 2025-05-06 05:49:58
Your offset time is: 2025-05-06 05:49:58