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 / once screen resolution is set to change it in game

Author
Message
Ryworks
17
Years of Service
User Offline
Joined: 25th Nov 2006
Location:
Posted: 26th Mar 2007 02:40
when my game start the screen is set the screen resolution 800,600,32 in my game i have options were the player can change the screen resolution to 1024,768,32. put when i click on it the game crashes. Is there a way to change the screen resolution when the game is running.

Download free games at my website at Ryworks Games
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 26th Mar 2007 03:42
Direct X flushes the preloaded memory of certain media data when you do. In order to change resolutions you have to reload the media.

Ryworks
17
Years of Service
User Offline
Joined: 25th Nov 2006
Location:
Posted: 26th Mar 2007 04:16
how do you do that.

Download free games at my website at Ryworks Games
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 26th Mar 2007 04:18
say you load 4 cubes and 3 textures.
you will have to load them again.

Ryworks
17
Years of Service
User Offline
Joined: 25th Nov 2006
Location:
Posted: 26th Mar 2007 04:50
ok i get it thanks

Download free games at my website at Ryworks Games
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 27th Mar 2007 15:07
If indi's suggestion doesn't help, you might consider NOT setting the rez to 800x600 by default.

Instead, let the user choose. To do this, don't use the Set Display Mode command until after the user has selected the screen rez (DB will by default use 640x480 for the selection screen).

TDK_Man

Login to post a reply

Server time is: 2024-09-25 19:22:08
Your offset time is: 2024-09-25 19:22:08