~fearsomedragonfly/activeprocess/trunk

Viewing all changes in revision 77.

  • Committer: Bradley Harms
  • Date: 2011-01-10 05:29:37 UTC
  • Revision ID: themusicguy123@gmail.com-20110110052937-oj30i3soigsnmiw0
- >
  A manual frameskip mechanism was put in place into the engine. It can be
  activated by passing `frameskip = X` to the engine initializer, where X is
  the number of frames to skip. (0 = don't skip any frames, 1 = skip every
  2nd frame, 2 = draw every 3rd frame, 3 = skip every 4th, etc.)
  The mechanism seems to be somewhat effective, but the frameskip must be
  set relatively high (like 5 or 6) to get the game logic to approach the
  target framerate, and even then, it can never really quite reach it. And there
  is currently no way to determine the ideal frameskip mechanism automatically;
  it must be set manually.
- >
  Frameskip can be altered at runtime by pressing the F9 and F10 keys.
  Documentation has been added for this to the engine.
- >
  The function `engine.get_fps()` has been replaced with a new variable
  `engine.fps`, which functions in the same way.
- >
  I'm going to give up on the speed issues for now and focus on getting the
  world editor working again. Should users encounter severe speed problems, I
  will direct them to the frameskip mechanism as a temporary solution.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: