~fearsomedragonfly/activeprocess/trunk

Viewing all changes in revision 80.

  • Committer: Bradley Harms
  • Date: 2011-01-16 09:33:27 UTC
  • Revision ID: themusicguy123@gmail.com-20110116093327-ag5bokfyjiin1ep4
- >
  The FPS readout has been replaced with a new feature in the engine module.
  (see below)
- >
  New flag `engine.show_fps`, when enabled, will cause an FPS "bar" to be
  drawn in the lower-left corner of the screen. The length of this bar depends
  on the current engine speed. When the fps exactly equal to the target speed,
  the bar will be fully white. When fps is less than the target speed, a
  portion of the right of the bar equal to the difference between the target
  speed and the actual fps will be red to show the severity of the lag. When the
  actual speed is above the target speed, a portion of the left of the bar
  equal to the difference between the actual speed and the target speed will be
  drawn at the left.
- >
  New flag `engine.allow_fpstoggle` that, when enabled, allows the FPS bar to
  be toggled on and off by pressing the F12 key.
- >
  The various `engine.allow_*` flags and `engine.show_fps` have been changed to
  be enabled by default only when in debug mode. When in production mode, they
  default to False.
- >
  `TextBox` now has a `char_max` attribute that indicates the maximum number of
  characters allowed. AFAIK, the class adequately prevent the number of
  characters in the box from ever going over this limit. By default, the limit
  is -1, which means "no limit."
- `TextBox` no longer resizes automatically to fit its contents.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: