Adam's Lair Forum

game development and casual madness
It is currently 2017/03/24, 10:13

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Throttling the FPS
PostPosted: 2016/12/26, 17:36 
Member
Member

Joined: 2016/10/14, 01:05
Posts: 71
Role: Hobbyist
Hi,

Due to the pretty simplistic stuff I am doing with Duality at the moment, I was wondering if there is any way of throttling the FPS on Duality.

I am running Duality on Windows 10 on Parallels on a Macbook Pro, and it is SCREAMING along at over 400 fps.

It seems to be a bit odd to complain of too much speed, but this is hammering my graphics card which seems to be running at max chat, resulting in a very hot Macbook!

Is there a way I can calm Duality and its Mighty Powers down?

Thanks,

JB


Top
 Profile  
 
 Post subject: Re: Throttling the FPS
PostPosted: 2016/12/26, 18:09 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 1932
Location: Germany
Role: Professional
That's what VSync normally takes care of by locking it to your screen's refresh rate at (most of the time) about 60 Hz. However, when the game detects that it's run in debug mode, it will disable VSync so you can see the true speed of things in the profiler and (more importantly) notice when things suddenly lack the speed they previously had.

There is currently no way to disable that behavior, but when you run the game from within VS using "Start without debugging" (Ctrl + F5? Something like that) the game should run in non-debug mode with VSync on. For debugging sessions though, there's no way around it right now.

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
 Post subject: Re: Throttling the FPS
PostPosted: 2016/12/26, 18:53 
Member
Member

Joined: 2016/10/14, 01:05
Posts: 71
Role: Hobbyist
Thanks Adam.

That's very helpful.

I feel somewhat like a grumpy old git asking for things to be slowed down!

Cheers!

JB


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group