Skip to reading
GDScript Programming & Godot

StopStartupSplashAudio()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Stop Startup Splash Audio

Stop audio still playing from startup splash presentation.

No options in the standard catalog schema.

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await StopStartupSplashAudio({})

In use. Use it when the first playable scene should take over the soundtrack. It does not disable splash screens or erase the splash audio asset.

PlayVideo()#

Play Video

Start an imported video with full-screen, skippable and muted options.

Source table from StopStartupSplashAudio(), page 203
Option key / fieldMeaning and inputDefault
Video Asset assetIdChoose an imported video.Blank
Full Screen fullScreenUse the video's full-screen presentation route.true
Skippable skippableOn/off.true
Muted mutedPlay the video without its audio.true

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await PlayVideo({"assetId": "your_asset", "fullScreen": true, "skippable": true})

In use. Show a short reel, then use OnVideoEnd if later logic depends on natural completion. Starting the video is not a promise that the next action waits for the whole clip.

Page 203 of 378Permalink
Go to page