Skip to main content

URL Parameters

You can control how Bilup loads and runs a project by adding parameters to the URL. This is useful for sharing a reproducible setup, embedding a project with specific options, or automating tests.

Parameters use standard query-string syntax: a ? after the URL, then name=value pairs joined with &. Parameters that are just switches take no value:

https://editor.bilup.org/123456789?turbo&fps=60&username=alice
note

Bilup already stores common settings (turbo mode, FPS, high quality pen, stage size, interpolation) in the URL for you as you change them in the editor. The parameters below are mostly the "advanced" ones you would set by hand, plus the common ones for reference.

Loading a project

ParameterValueWhat it does
(path)project IDeditor.bilup.org/123456789 loads that project
project_urldirect URLLoads a .sb3 (or project.json) from any CORS-enabled URL. Do not combine with a project ID.
clonegit repo URLClones a project from a Bilup git repository (see Git integration).

project_url requires a direct download that supports CORS (Access-Control-Allow-Origin: *). https:// is assumed if you omit the protocol; http:// URLs usually will not work. GitHub Pages works well for this.

https://editor.bilup.org/?project_url=https://example.com/project.sb3

Performance and runtime

ParameterValueWhat it does
fpsnumberSets the frame rate. 0 runs at the display's refresh rate.
turboswitchEnables turbo mode (no per-frame throttling).
interpolateswitchEnables interpolation for smoother motion.
hqpenswitchEnables high quality pen.
limitlessswitchRemoves miscellaneous limits.
offscreenswitchRemoves fencing so sprites can leave the stage.
clonesnumberSets the maximum clone count (see Infinite Clones).
stuckswitchEnables the warp timer. Also accepted as warp_timer.
nocompileswitchDisables the compiler. You almost never want this.

Display

ParameterValueWhat it does
sizeWIDTHxHEIGHTSets a custom stage size, for example size=640x360.
scalenumberCaps how large the stage is allowed to scale up. scale=1 keeps it at its native resolution.
fullscreen-backgroundCSS colorBackground color shown in fullscreen. Escape # as %23, for example %23abc123.

Accounts and cloud

ParameterValueWhat it does
usernamestringSets the value returned by the username block and used by cloud variables. A username set this way is not saved.
cloud_hostwss://... URLPoints cloud variables at a different server. The default is wss://clouddata.turbowarp.org.

Collaboration

ParameterValueWhat it does
roomroom codeJoins a live collaboration room automatically once a username is set. The parameter is removed from the URL after it is read.

Extensions

ParameterValueWhat it does
extensionURLLoads a custom extension. Can be repeated to load several.
https://editor.bilup.org/?extension=https://example.com/a.js&extension=https://example.com/b.js

See Building Extensions for how these work.

Embed-only parameters

These only apply to the embed player:

ParameterValueWhat it does
autoplayswitchPresses the green flag automatically once the project loads.
addonscomma listEnables specific addons in the embed, for example addons=pause,gamepad.
settings-buttonswitchShows an advanced-settings button in the embed.

See also