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.

Newcomers DBPro Corner / Screen depth is illegal

Author
Message
Ambitious Guy
16
Years of Service
User Offline
Joined: 1st Aug 2008
Location: Florida, USA
Posted: 15th Jan 2009 16:20
Well I set the display mode and it says screen depth is illegal. Here is the code.


The Geek of our time
pollywog
17
Years of Service
User Offline
Joined: 18th Jan 2007
Location:
Posted: 15th Jan 2009 17:57
I had a similiar problem with
set display mode 1280, 1024, 32

It worked on my home computer but not on some others whose video card couldn't handle the resolution.

I just commented out the set display mode line and let the computer use what the resolution it was set to and it seemed to work ok.

looking at your code I'm hopeful that omitting the set display mode line shouldn't effect the placement of your objects on your screen. this happens to me sometimes if I'm using sprites but I didn't see you using sprites anywhere.
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 15th Jan 2009 18:08
try
screenwidth=get screen width()
screenheight=get screen height()
set display mode screenwidth,screenheight,32

I want robotic legs.
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 15th Jan 2009 18:29 Edited at: 15th Jan 2009 18:59
oops.

Virtual Nomad @ California, USA
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 15th Jan 2009 22:25
Just a thought; my computer don't like the DBP executables running in 32-bit mode (I guess it's DirectX's fault; otherwise it would be strange that everything else can run in it...)


-> Oh, come on...

Login to post a reply

Server time is: 2024-11-24 14:24:08
Your offset time is: 2024-11-24 14:24:08