Skip to content

Playscii.Frame Struct

Json frame object in the Playscii file.

C#
public struct Playscii.Frame

Duration for this frame.

C#
public float delay

Playscii frame layers that will be converted to ScreenSurface.

C#
public Playscii.Layer[] layers

Converts the Playscii frame to SadConsole ScreenSurface.

C#
public ScreenSurface ToScreenSurface(int width, int height, IFont font, Palette colors)

width int
Width of the ScreenSurface.

height int
Height of the ScreenSurface.

font IFont
IFont to be used when creating the ScreenSurface.

colors SadRogue.Primitives.Palette
SadRogue.Primitives.Palette of colors converted from the Playscii format.

ScreenSurface
ScreenSurface containing the image from the first animation frame.