Skip to reading
GDScript Programming & Godot

StopGameplayRecording()

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 Gameplay Recording

Stop the active gameplay recording.

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 StopGameplayRecording({})

In use. End the test run cleanly before starting another recording. It does not stop a separate operating-system video capture.

PlayGameplayRecording()#

Play Gameplay Recording

Play a saved gameplay recording at the chosen speed.

Source table from StopGameplayRecording(), page 208
Option key / fieldMeaning and inputDefault
Recording Path pathWritable recording-data path, such as user://walkthrough.json."user://walkthrough.jso n"
Playback Speed speedPlayback speed multiplier; 1 is normal speed.1

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

Code example
await PlayGameplayRecording({"path": "user://walkthrough.json", "speed": 1})

In use. Replay user://walkthrough.json while checking a room. The recording needs a compatible game state and scene setup; it is not a self-contained replacement for the project and its assets.

Page 208 of 378Permalink
Go to page