AutosaveOptions beta
Interface of @v12-engine/client
ts
export interface AutosaveOptionsA game that saves by itself (GameScene.saves.autosave, SaveControls.autosave): every every seconds of the game (not of the clock on the wall: a paused game does not save), once as it starts with atStart, kept as keep saves named Autosave 1, Autosave 2… the oldest made again in its place
Members
atStart
ts
atStart?: boolean;Saved once as the game starts too (not a game loaded from a save)
every
ts
every?: number;Seconds of the game between two: 300 when left out
keep
ts
keep?: number;How many are kept: 3 when left out