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 / Screen Resolution

Author
Message
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 4th Mar 2015 06:54
Hi.

I want know how can change screen to different Resolution? Darkbasic can support new wide resolution? can anyone Guide me?

Thanks.
Cescano
9
Years of Service
User Offline
Joined: 4th Sep 2014
Location: Italy
Posted: 4th Mar 2015 08:35
set display mode 1024,768,32

or any resolution you want supported by your hardware

call this command before to load the game stuff (objects, textures etc), you can't change the resolution once the game media has been loaded, unless you reload it again
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 4th Mar 2015 09:21
in AppGameKit for make android games we should use SetyVirtualResolution(1280,800) for support all device resolution.then after run made game on different devices with different resolution, then game auto resize according to device resolution.

i want know darkbasic work like AppGameKit? mean should set Maximum resolution for Make game? and what is maximum resolution for PC like android(1280 x 800)?

Thanks.
Cescano
9
Years of Service
User Offline
Joined: 4th Sep 2014
Location: Italy
Posted: 4th Mar 2015 15:48
Just use a common resolution to start your program/game, like 800x600 or 1024x768, using it for the menu for example, then before to load the game data you can chose the resolution you want.
There is not a specific "maximum resolution", all depends by the hardware (monitor and graphic card)
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 4th Mar 2015 20:56 Edited at: 4th Mar 2015 20:57
You can use perform checklist for display modes to check for the supported modes. Check this out:



Need help with C/C++ game dev? PM me or add me on skype: the__comet.
Current active project: Light Ship

Login to post a reply

Server time is: 2024-04-26 05:14:54
Your offset time is: 2024-04-26 05:14:54