@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / GameplaySettings
Type Alias: GameplaySettings ​
ts
type GameplaySettings = {
[key: string]: unknown;
cameraShake: number;
subtitles: boolean;
};Defined in: settings/gameSettings.ts:60
Indexable ​
ts
[key: string]: unknownAnything a game adds: difficulty, field of view, a colour-blind mode.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
cameraShake | number | 0..1, how much the camera shakes. Scripts read it. | settings/gameSettings.ts:62 |
subtitles | boolean | - | settings/gameSettings.ts:63 |

