I've noticed this CPU usage on my laptop too. It is unfortunate because it really chews through my battery.
Assuming that FTL is not frame rate limited, I'd guess that it is spinning in an event loop waiting for user interaction, and that can use 100% CPU. An easy fix for this is to put a timer in that event loop and if it has been less than, say, 1/100 of a second since the last check (or whatever you need to maintain smooth game play), sleep for a bit of time. This can significantly reduce the CPU usage.
I'd really like to see this fixed, FTL could be the perfect airplane game, if it didn't eat batteries like mad.
Darin
Extrene CPU Usage
- Matthew
- Site Admin
- Posts: 966
- Joined: Thu Apr 19, 2012 9:31 am
Re: Extrene CPU Usage
There will be clear options for both V-Sync and Frame Limiting added to the options as soon as I have time to push out an update (hopefully within the next couple days). Sorry about this guys. Working overtime during this busy launch.
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here
-
- Posts: 151
- Joined: Sat May 05, 2012 12:42 pm
Re: Extrene CPU Usage
I'm sure we can wait and understand the amount of work you have now makes the development of the game easy. nice that you are willing to add V-Sync and Frame Limiting to the system.zasdarq wrote:There will be clear options for both V-Sync and Frame Limiting added to the options as soon as I have time to push out an update (hopefully within the next couple days). Sorry about this guys. Working overtime during this busy launch.
-
- Posts: 14
- Joined: Wed Sep 05, 2012 5:49 pm
Re: Extrene CPU Usage
Good news! Thank you very much!zasdarq wrote:There will be clear options for both V-Sync and Frame Limiting added to the options as soon as I have time to push out an update (hopefully within the next couple days). Sorry about this guys. Working overtime during this busy launch.
- Matthew
- Site Admin
- Posts: 966
- Joined: Thu Apr 19, 2012 9:31 am
Re: Extrene CPU Usage
There is a beta version for Steam of a patch including Vsync and Frame Limiting available, check out this link:
http://www.ftlgame.com/forum/viewtopic.php?f=9&t=2707
The full patch should be available to everyone within a couple days, it's just that Steam provides an easy way to make multiple fast changes in case of emergencies before we put it fully live. Since we're a small team with limited testing capacity, that's invaluable.
http://www.ftlgame.com/forum/viewtopic.php?f=9&t=2707
The full patch should be available to everyone within a couple days, it's just that Steam provides an easy way to make multiple fast changes in case of emergencies before we put it fully live. Since we're a small team with limited testing capacity, that's invaluable.
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here