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.

Author
Message
The Big Babou
23
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 5th Jun 2003 23:00
my code looks like this



as you can see, there are 2 syncs in the code. if the numbers after set display mode differs from the desktop resolution and the function is called, everything is slowed down as hell. however when going into the function it is synced only once a loop. in the main loop everything runs fine and again theres only one sync per loop. so why the slowdown in the function?
in fullscreen exclusive mode everything runs fine, but i get around 40 fps while in windowed-fullscreen it's around 150 on my old p3 500 with tnt2 graphics. in fact i want to use the windowed-fullscreen.
i hope you understand my problem
The Big Babou
23
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 5th Jun 2003 23:09
btw when the set display mode values are the same as the desktop size again everything runs fine. using patch 4.1
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 5th Jun 2003 23:27


Pneumatic Dryll
The Big Babou
23
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 5th Jun 2003 23:44
works good, but in case the user wants to play in 1024x768 but has a 800x600 desktopresolution? there must be another way than just using the desktopresolution.
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 5th Jun 2003 23:53
Then you cannot use windowed-fullscreen.

When using windowed-fullscreen mode DBPro stretches your set display mode to whatever resolution Widnows is running in. This is why it was running slowly.

It is also why setting a higher resolution would be futile

Pneumatic Dryll
The Big Babou
23
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 6th Jun 2003 00:13
i set my desktop to 800x600. in dbpro i set display mode 800,600 and 1280,1024. i think 1280,1024 was much sharper so a higher resolution (and resistance ) is not futile.

and why is the fullscreen exclusiv mode so much slower?
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 6th Jun 2003 02:12
Quote: "i set my desktop to 800x600. in dbpro i set display mode 800,600 and 1280,1024. i think 1280,1024 was much sharper so a higher resolution (and resistance ) is not futile."


I shall get some rabbits out and conduct some experiments, this wasn't my understanding.

Quote: "and why is the fullscreen exclusiv mode so much slower?"


You can blame any of the following and probably be correct: Direct X; Windows; Microsoft; DarkBASIC Professional; Next door neighbour.

Pneumatic Dryll
The Big Babou
23
Years of Service
User Offline
Joined: 10th Feb 2003
Location: Cyberspace
Posted: 6th Jun 2003 02:47
lol@next door neighbour.

Quote: "
When using windowed-fullscreen mode DBPro stretches your set display mode to whatever resolution Widnows is running in.
"


maybe i'm to dumb, maybe my english is too bad, but i don't get it. perhaps you could give an example?

Login to post a reply

Server time is: 2026-07-11 22:24:38
Your offset time is: 2026-07-11 22:24:38