.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old March 27th, 2015, 04:48 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,991
Thanks: 487
Thanked 1,926 Times in 1,253 Posts
Mobhack is on a distinguished road
Default Re: CPU load

The original DOS game took 100% of the CPU, all the time, as did the original Windows conversion.

The windows rewrite will give some CPU time to other processes, when idle, but not all. It only does this as a courtesy to other Windows programmes that may be active. However if minimised, then it takes almost no CPU time, as with any other windows programme.

As its a game, it assumes that you are playing it as the primary purpose of running the computer at that time if it is on the screen. When its doing something, it grabs the CPU, and when its "idle" it will still grab it for screen updates several times a second.

Thus the game is not "idle" simply because the end user is not poking keys currently. It will be continuously pumping out screen updates, especially if the game map is visible.

Games are designed differently from office apps. They hog the CPU, unlike word processors etc - But I designed this one to let the office apps get a look in by giving it an OnIdle event!

If you really need that CPU time to do something else than play the game - then either shut the game down or minimise it to the task bar.

cheers
Andy
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:00 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.