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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space

 
 
Thread Tools Display Modes
  #1  
Old December 24th, 2005, 01:36 AM
Brainiac4's Avatar

Brainiac4 Brainiac4 is offline
Corporal
 
Join Date: Jun 2005
Location: Scenic Maplewood, MN
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Brainiac4 is on a distinguished road
Default Re: Something wrong with CPU usage?

It does pose a bit of a challenge when testing, though. Alt-tabbing between the desktop (or Firefox or Textpad) and WW causes my system to chug. And I'm sportin' some pretty good hardware -- Athlon64 3500+, 1GB ram, 256mb Radeon x700 -- so it's challenging.

Not that I expect you to fix it just for little old me, and I'll continue playing and testing, but I did want to chime in.
  #2  
Old December 24th, 2005, 02:16 AM
Fingers's Avatar

Fingers Fingers is offline
Sergeant
 
Join Date: Jun 2005
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Fingers is on a distinguished road
Default Re: Something wrong with CPU usage?

It's just my old-fashioned programming techniques... The launcher uses up CPU because it's running in a loop waiting for user input... It would've been easier to fix this in the launcher than the game (as it's not performance-critical) by sleeping for a period of time each time it loops, but I didn't think about it. Maybe some time in the future I'll look into this. (One of the problems is I don't think SDL has a portable sleep function so I'd need to use the win32 api and the Mac port would need to use something different)
 

Bookmarks

Thread Tools
Display Modes

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 12:11 PM.


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