SDL-App-FPS
view release on metacpan or search on metacpan
lib/SDL/App/FPS.pm view on Meta::CPAN
$app->freeze_time_warp_ramp();
Disables any ramping of the time warp that might be in effect.
=item freeze_time()
$app->freeze_time();
Sets the time warp factor to 0, effectively stopping the warped clock. Note
that the real clock still ticks and frames are still drawn, so you can overlay
some menu/animation over a static (froozen in time) background. Of course it
might be more efficient to save the current drawn frame as image and stop
the drawing if the not-changing background altogether.
=item thaw_time()
$app->thaw_time();
Sets the time warp factor back to what it was before L<freeze_time()> was
called. Does nothing when the clock is not frozen.
( run in 0.905 second using v1.01-cache-2.11-cpan-49f99fa48dc )