1024x768x32 @60 Hz

Advanced game related topics
fmcpma
New User
New User
Posts: 9
Joined: Fri Dec 17, 2004 5:21 am

1024x768x32 @60 Hz

Post by fmcpma »

Can I get 1024x768x32 @60 Hz full-screen multy-layer scrolling with loadsa large sprites moving around at the same time in PureBasic? On a top-notch PC? (I'm talking strictly 2D here.)

Is there any demo or game done in PB to show this off?

Thanks for any replies.
aaron
Enthusiast
Enthusiast
Posts: 267
Joined: Mon Apr 19, 2004 3:04 am
Location: Canada
Contact:

Post by aaron »

Yes you can.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

I quit every programm, which runs with a fixed hz (and 60hz ist too less!).
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

btw: Also some flatscreens cannot run a high refresh rate..
(no thats not FPS im talking about ) :wink:
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

thefool wrote:btw: Also some flatscreens cannot run a high refresh rate..
(no thats not FPS im talking about ) :wink:
let the user choice. Normaly you can select this in your vga-driver, or try refreshlock.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Re: 1024x768x32 @60 Hz

Post by Shannara »

fmcpma wrote:Can I get 1024x768x32 @60 Hz full-screen multy-layer scrolling with loadsa large sprites moving around at the same time in PureBasic? On a top-notch PC? (I'm talking strictly 2D here.)

Is there any demo or game done in PB to show this off?

Thanks for any replies.
I am working on a game that does this, with a GeForce FX and a 3.08 Mhz intel :D Unfortunately, on a 640x480 view screen with four tile layers and nothing else, you only get around 200 FPS. This is with all tiles bltbit each time (32x32). If you use a Radon (sp?) The FPS is almost twice that. It is the exact opposite if you bltbit one big 640x480 surface on the screen 4 times.

More tips can be found @ viewtopic.php?t=13495
Blade
Enthusiast
Enthusiast
Posts: 362
Joined: Wed Aug 06, 2003 2:49 pm
Location: Venice - Italy, Japan when possible.
Contact:

Post by Blade »

GPI wrote:I quit every programm, which runs with a fixed hz (and 60hz ist too less!).
The best Amiga games ran at 50hz (in europe) ... many good Playstation (one) games ran at 25hz ... And we were all happy.
GameCube, Xbox, PS2 are usually at 50 too ...
Does really someone needs 120hz ?
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

sometimes people get headache at sitting in front of a monitor [not flatscreen nor tv] wich have a low refresh rate!
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Atari ST, Amiga, C64, GC, XBOX, PS2: All this has low resolutions and are connected to a TV.

A PC is connected to a monitor. And for a CRT-Monitor you need about 85 Hz or you see a flicker!
fmcpma
New User
New User
Posts: 9
Joined: Fri Dec 17, 2004 5:21 am

Post by fmcpma »

Ok, thanks all... :)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

btw. I set it to 100hz, beause my TV is in the near of my monitor. When both are on, i get otherwise problems...
Amiga5k
Enthusiast
Enthusiast
Posts: 329
Joined: Fri Apr 25, 2003 8:57 pm

Post by Amiga5k »

Televisions and CRT monitors use exactly the same technology to display their images, except for one big point: All TV standards - NTSC, PAL and SECAM (including most HDTV formats) are interlaced.

I won't go into the whole definition of interlacing, but suffice it to say that that half of the horizontal lines are drawn on one pass (line 1,3,5,7, etc) and the other half are drawn on the next pass (2,4,6,8, etc). Each pass takes 1\50th or 1\60th of a second to complete, depending on which television standard you're using. But the entire screen is only updated at 1\30th or 1\25th of a second. If you look at a static image on a tv, especially one with small straight horizontal lines, you'll see the flicker very easily. However, most of the time the flicker is hidden by the fact that the screen is usually in a state of constant change.

Now, that being said, it's important to note that different people have different tolerances. This includes color, sound and flicker perception. Personally, I see no difference whatsoever between 1280 x 1024 @ 60hz and 1280 x 1024 @85hz.

So, the moral of this story? Write your code so that people can decide what frequency to run the game at or, better yet, get that info from the current display driver settings (probably safer).

Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

yeah take it from default settings.. [or put it under advanced, and warn users..]

another thing: If they dont know what they are messing with and they take an too high refresh rate, then not all lcd/tft monitors can show it. So if you have these kinds of options, better let the user be able to change that outside the game, so he dont have to reinstall it just to change it..
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

Amiga5k wrote:Televisions and CRT monitors use exactly the same technology to display their images,
Not complete.CRT-Monitors are hitech.

>1280 x 1024 @ 60hz and 1280 x 1024 @85hz.

I see the diffrent instantly! I can't work with 60Hz.
User avatar
griz
Enthusiast
Enthusiast
Posts: 167
Joined: Sun Jun 29, 2003 7:32 pm
Location: Canada

Post by griz »

...and then of course are LCD monitors where there is no flicker despite lower refresh rates than CRTs because the pixels don't go blank between VBIs...
Post Reply