pardon me if we're moving off-topic for dynapi-help here.  I don't
want to step on too many toes discussing something that may not
concern DynApi2 all too much, and I'll happily let the thread die if
it's drifting too much.

* Pascal Bestebroer
> Is there any point in this?

in my opinion: yes.  if I can have a timer going at ~40Hz on all
systems except Win95/98, why not make a timer doing just that for
those systems too, so that one timer serves all systems?

> if your code can't execute within the time of the first
> timeinterval.. it can't possible run in both intervals..

I'm not a games programmer, so when it comes to multiple layers on a
playing field moving in all three dimensions, combined with keyboard
events, I'll have to pass.  the tests I've done with a single layer
and max speed (a simple for() loop) told me that there's some power
available that it might be possible to exploit.

> or are you splitting up your code so that one part runs in
> the first interval and another part in the second?

the application I developed it for has a fairly simple multilayer
animation, so in my case the code used both threads to smoothen the
animation.  and it worked.

> and will those 2 threads/timers always run correctly in the
> same interval of each other? if they do that takes away 
> some of the other problems I see with this..if they don't I 
> still don't get the useability of this :)

the timer library I created is self-calibrating and self-correcting.
it may or may not run correctly on the first try, but after a while
and some correction, as far as my tests have been able to tell, it
"snaps" into place and stays there.

as I said I'll have to pass on the keyboard events, synching and other
stuff since I'm not a games programmer.


Morten!

-- 
"...a liquid which was almost, but not quite, entirely unlike tea."
  My opinions are not necessarily those of my provider,
  not necessarily mine, and probably not necessary.


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to