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.

2D All the way! / 640x480 slower than windowed - full screen

Author
Message
BlinkOk
22
Years of Service
User Offline
Joined: 22nd Oct 2003
Location:
Posted: 29th Dec 2004 08:08 Edited at: 29th Dec 2004 08:14
hi,
i downloaded the space invaders from the codebase. when i run it with the "windowed - full screen" option it runs pretty fast but when i run in with the "Fullscreen Exclusive Mode = 640x480/16" it runs pretty slow. is there something i should be doing or setting to make the Fullscreen exclusive Mode run faster?
thanks
blink
here's the link to the codebase (i set sync rate to 0);
http://www.thegamecreators.com/?m=codebase_view&i=60a37c200ac969c419ebb85c92c6f8f1

P4 2.8Ghz, 2Gb, 128Mb Radeon Pro, Dark Basic PRO
dj chainz
21
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 29th Dec 2004 16:18
Fullscreen exclusive mode is simply much slower. There's nothing you can do to prevent it.

I am the lead programmer at red spark studios
I also have a blog on how to make a game engine
http://www.dbgame.blogspot.com
Emperor Baal
22
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 29th Dec 2004 22:07
fullscreen exclusive mode isnt slower. In fact I find it much faster and smoother.

The problem is the refresh rate cap. When you execute your program in windowed mode it will run at the maximum speed. However, when you run it in full screen exlusive mode, the refresh rate is capped at 60FPS or something.

Even when using sync rate 0, it wont go above that value.

BlinkOk
22
Years of Service
User Offline
Joined: 22nd Oct 2003
Location:
Posted: 30th Dec 2004 08:12
thanks guys. i really appreciate the advice. i can certainly live with 60fps.

P4 2.8Ghz, 2Gb, 128Mb Radeon Pro, Dark Basic PRO
FoxBlitzz
22
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 30th Dec 2004 12:25
Quote: "However, when you run it in full screen exlusive mode, the refresh rate is capped at 60FPS or something."


That depends on your monitor's refresh rate. For example, if you have it set on 75, the framerate will cap at 75 in full-screen mode. Then again, you aren't going to need a framerate faster than 60 anyway. 60 is as smooth as you can get it.

UNVIDIA GeFartFX 5600 Crud Edition
Featuring an unbeatable 0-1 FPS in 3DMark05!
If Return to Proxycon were a game, I would die before I saw the door open!
Emperor Baal
22
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 31st Dec 2004 06:07
Evil Monkey
I know, but somehow windows xp keeps directx from going over 60FPS most of the time.

It's called VSync

Login to post a reply

Server time is: 2026-06-11 14:48:33
Your offset time is: 2026-06-11 14:48:33