Re: Turning off some messages - is it possible? Is it unnecessary?
From: Dave (noone_at_nowhere.com)
Date: 05/11/04
- Next message: Joseph M. Newcomer: "Re: how to use a map for CString?"
- Previous message: Jaime Stuardo: "Re: Problem retrieving the menu for a CChildFrame in MDI application"
- In reply to: Yasoo: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Next in thread: Joseph M. Newcomer: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Joseph M. Newcomer: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Yasoo: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 May 2004 00:54:48 -0000
timing at that level is usually only needed for device drivers, look into
how those are designed if you really need to go fast.
but i think you were talking about video games... remember, even if you
could possibly generate a frame rate of 100 frames per second that is still
10ms per frame. you can't see anything move any faster than that. at 60fps
you have 16ms per frame to work in.
as for input, a fast typist goes at 120wpm, which means 600cpm, or 10cps
which is 100ms per character... keyboard auto repeat ranges up to about
20-25cps so at the most you can only get one character every 40ms or so.
upping your thread priority may give you better control on a busy machine,
but don't try to go too fast or you are just doing extra work that you can
never see.
"Yasoo" <anonymous@discussions.microsoft.com> wrote in message
news:4B01FB3C-E3F5-4C2C-9063-1567F94DF75F@microsoft.com...
> Hi Joe -
>
> Thanks again. Believe me, the first thing I did was create a timer to
and set it to 100ms to get a feel for the speed. I was then going to
decrease to 50,25,10,5,etc. to hone in. I was really surprised to see that
1ms was still too slow and was inaccurate.
>
> O.K. DirectInput for getting controller input, but what about getting a
more accurate and/or quicker timer? From the research I've done so far, I'm
going to have to use timers in a 16bit dll. I'm thinking there is a better
solution than this, it sounds a little clunky.
- Next message: Joseph M. Newcomer: "Re: how to use a map for CString?"
- Previous message: Jaime Stuardo: "Re: Problem retrieving the menu for a CChildFrame in MDI application"
- In reply to: Yasoo: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Next in thread: Joseph M. Newcomer: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Joseph M. Newcomer: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Reply: Yasoo: "Re: Turning off some messages - is it possible? Is it unnecessary?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|