Optional allowCheck if, in some exceptional cases, we allow authentication to be done through a iframe. This is usually discouraged as the user can't verify that the authentication window is a genuine one. It's only to be used in trusted contexts.
Optional captureAny capture that should be done during the preview.
Optional crashIf set, the game will send crash reports to GDevelop APIs.
Optional electronThe path to require @electron/remote module.
This is only useful in a preview, where this can't be required from
@electron/remote directly as previews don't have any node_modules.
On the contrary, a game packaged with Electron as a standalone app
has its node_modules.
This can be removed once there are no more dependencies on
@electron/remote in the game engine and extensions.
Optional environment?: "dev"If set, the game should use the specified environment for making calls to GDevelop APIs ("dev" = development APIs).
Optional forceif true, force fullscreen.
Optional gdevelopThe token to use by the game engine when requiring any resource stored on GDevelop Cloud buckets. Note that this is only useful during previews.
Optional gdevelopThe GDevelop version used to build the game.
Optional inMessage to display to the user during an in-app tutorial.
Optional inOptional injectThe name of the external layout to create in the scene at position 0;0.
Optional isif true, game is run as a preview launched from an editor.
Optional nativeif true, preview is launched from GDevelop native mobile app.
Optional playerOptional playerOptional playerIf set, this data is used to authenticate automatically when launching the game. This is only useful during previews.
Optional previewArbitrary string explaining in which context the game is being played.
Optional projectif true, export is a partial preview without events.
Optional projectThe template slug that was used to create the project.
Optional scriptScript files, used for hot-reloading.
Optional sourceThe source game id that was used to create the project.
Optional websocketThe address of the debugger server, to reach out using WebSocket.
Optional websocketThe port of the debugger server, to reach out using WebSocket.
Options given to the game at startup.