Arcade
|
Contains a recording of an arcade game as a sequence of frames. More...
Public Member Functions | |
Demo () | |
Constructs a blank Demo, ready for frames to be recorded to. More... | |
void | AddFrame< TGraphics, TAudio > (TGraphics graphics, TAudio audio) |
Appends the last frame rendered on the given GraphicsBase instance to the Demo recording. More... | |
void | Render< TGraphics, TAudio > (TGraphics graphics, TAudio audio, int frameIndex) |
Draws the specified frame from this demo. More... | |
Public Attributes | |
const int | MaxAudioEventsPerFrame = 255 |
The largest number of individual sounds that may start playing on the same frame during a Demo. More... | |
Properties | |
bool | IsLooping [get, set] |
If true, frame indices beyond the end of this demo will wrap back from the beginning. More... | |
int | Length [get] |
Total number of frames recorded in this demo. More... | |
Contains a recording of an arcade game as a sequence of frames.
|
inline |
Constructs a blank Demo, ready for frames to be recorded to.
|
inline |
Appends the last frame rendered on the given GraphicsBase instance to the Demo recording.
graphics | Graphics context to record a frame from. |
audio | Audio context to record a frame from. |
TGraphics | : | Peripheral | |
TGraphics | : | IGraphics | |
TAudio | : | Peripheral | |
TAudio | : | IAudio |
|
inline |
Draws the specified frame from this demo.
TGraphics | : | Peripheral | |
TGraphics | : | IGraphics | |
TAudio | : | Peripheral | |
TAudio | : | IAudio |
const int GameAPI.Demo.MaxAudioEventsPerFrame = 255 |
The largest number of individual sounds that may start playing on the same frame during a Demo.
|
getset |
If true, frame indices beyond the end of this demo will wrap back from the beginning.
|
get |
Total number of frames recorded in this demo.