[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Sean O'Connor's Games • View topic - 3.99i - Jerky Setup Scrolling is Back

3.99i - Jerky Setup Scrolling is Back

Real time World War II combat simulation

3.99i - Jerky Setup Scrolling is Back

Postby Andy Brown » Sat Oct 22, 2005 4:06 am

Andy Brown
 
Posts: 262
Joined: Wed Dec 08, 2004 9:30 am
Location: Christchurch, New Zealand

Postby Andy Brown » Thu Oct 27, 2005 10:52 am

Andy Brown
 
Posts: 262
Joined: Wed Dec 08, 2004 9:30 am
Location: Christchurch, New Zealand

Postby Andy Brown » Fri Dec 09, 2005 2:17 am

3.99q. Problem still there.

It's definitely got something to do with either the darkened area of the map during setup or the text that appears on it.

When I'm setting up for defensive games, as long as I keep the screen displaying only my setup zone ie there's no darkened area on the main map, scrolling is fine.

The moment I scroll up to include some of the darkened area in the main window, the scroll rate slows right down and becomes impossibly jerky.

It is a real nuisance, especially when I'm trying to scroll around the darkened area to get some idea of the terrain before the game starts.

Can NOTHING be done about this?

Andy Brown
Andy Brown
 
Posts: 262
Joined: Wed Dec 08, 2004 9:30 am
Location: Christchurch, New Zealand

Postby Sean OConnor » Fri Dec 09, 2005 10:58 am

It's definitely because of the greyed out area. I draw a hashed pattern over the game area and the more of the grey area that is on the screen the slower it gets. It's when the total time to draw everything plus this grey area exceeds the frame time (75 ms) that it gets jerky.

The problem went away on your computer because I optimised a lot of stuff in the grey-out routine, but it came back because I increased the frame rate from 100ms to 75ms a frame, and my guess is that it is taking your computer something like 85ms to do a frame.

I'm surprised though because on my computer (which is two years old and just uses the on-board video chips) takes only about 20ms to do a frame when I drag the screen to fill the window with greyed out area, and it's set at 1280x1024 and 32 bit colour.

Could you give me the specs of your computer? And how old is it? And maybe there are more up to date graphics drivers for your video card which may speed it up as it seems like this one "AND" operation is really running slowly.

I could just scrap the greyed out area idea, but it would be a shame as I can't think of anything else that would look as nice.

Anyone else having similar problems?!
User avatar
Sean OConnor
 
Posts: 1298
Joined: Fri Sep 03, 2004 7:47 am
Location: Cambridge, UK

Postby Andy Brown » Sun Dec 11, 2005 12:02 am

Andy Brown
 
Posts: 262
Joined: Wed Dec 08, 2004 9:30 am
Location: Christchurch, New Zealand

Postby rich12545 » Sun Dec 11, 2005 3:14 am

rich12545
 
Posts: 64
Joined: Thu Nov 25, 2004 3:14 pm


Return to Firefight

Who is online

Users browsing this forum: No registered users and 1 guest

cron