-
-
Notifications
You must be signed in to change notification settings - Fork 169
URL Parameters
It's possible to control some TurboWarp settings from the URL. You do this by putting a ?
followed by various options described below.
To combine options, separate each option with an &
, for example: https://turbowarp.org/443603478?60fps&username=ExampleUsername
To use these in the editor or fullscreen pages, just put the options after the editor
or fullscreen
, for example: https://turbowarp.org/15832807/fullscreen?fps=60
To use these in the embed see Embedding
The fps
option can be used to control the framerate. For example, to enable 60 FPS mode:
https://turbowarp.org/15832807?fps=60
The username
option controls the initial value of the username block.
https://turbowarp.org/443603478?username=ExampleUsername
The hqpen
option can be used to enable High Quality Pen by default.
https://turbowarp.org/313431210/fullscreen?hqpen
The turbo
option can be used to enable Turbo Mode by default.
https://turbowarp.org/15832807?turbo (warning: flashing colors)
The stuck
option can be used to enable Warp Timer/Stuck Checking by default.
https://turbowapr.org/446742201?stuck
The cloud_host
option lets you change the cloud variable server that TurboWarp will connect to, for example:
https://turbowarp.org/12785898?cloud_host=wss://clouddata.turbowarp.org
Inclusion of ws://
or wss://
is optional but recommended. wss://clouddata.turbowarp.org
is the default cloud data server used by TurboWarp, so this example doesn't actually change anything. Keep in mind that because TurboWarp uses HTTPS, insecure ws:// servers may not work. (localhost is generally exempt from this rule)
If specified, TurboWarp will download project data from this URL. Do not use together with a regular project ID.
https://turbowarp.org/?project_url=https://projects.scratch.mit.edu/10128407
Note: The URL needs to be a direct download and support CORS (Access-Control-Allow-Origin: *). Many hosts don't support CORS, in which case you can use something like cors-everywhere to proxy the download.