class flixel.system.debug.VCR

Available on all platforms

This class contains the record, stop, play, and step 1 frame buttons seen on the top edge of the debugger overlay.

Instance Fields

var runtimeDisplay:TextField

Texfield that displays the runtime display data for a game replay

function new(Debugger:FlxDebugger):Void

Creates the "VCR" control panel for debugger pausing, stepping, and recording.

function onPause():Void

Called when the user presses the Pause button. * This is different from user-defined pause behavior, or focus lost behavior. * Does NOT pause music playback!!

function onResume():Void

Called when the user presses the Play button. * This is different from user-defined unpause behavior, or focus gained behavior.

function onStep():Void

Called when the user presses the fast-forward-looking button. * Requests a 1-frame step forward in the game loop.