Optional ReadonlyaccelerometerAccelerometer mode (customize for each device target and orientation)
ReadonlyaspectThe width and height of the game, in meters. Common values are 16/9 (landscape) and 9/16 (portrait)
The height part of the ratio
The width part of the ratio
ReadonlyhitShould JetLag print an outline around each actor in the game?
Optional ReadonlyresourcesConfiguration of any assets used by the game
Optional Readonlycdn?: stringAn override for loading assets from a CDN url instead of the game's
assets folder.
Optional Readonlyfonts?: string[]Fonts to load
Optional ReadonlyimageNames?: string[]The list of image files that can be used by the game
Optional ReadonlyloadingScreenFonts?: string[]The list of fonts needed EARLY (for the loading screen)
Optional ReadonlyloadingScreenImageNames?: string[]The list of image files needed EARLY (for the loading screen)
Optional ReadonlymusicNames?: string[]The list of audio files that can be used as (looping) background music
Optional ReadonlysoundNames?: string[]The list of audio files that can be used as sound effects by the game
Optional ReadonlyvideoNames?: string[]The list of video files that can be used for cut scenes
Optional ReadonlystorageA prefix for every key in persistent storage
JetLagGameConfig stores game-specific configuration values. The programmer makes one of these to tell JetLag how to run their game.