Skip to content
Docs
How disko works

How Studio games work

What the Studio turns a project into - the same JavaScript game package as a game written in code.

When you press Play or Publish, the Studio turns your project into an ordinary game package. Rooms run it like any other game.

  • The same project always gives the same files.

  • Play runs exactly what Publish uploads.

A row becomes code

When a disc crosses Goal, add 1 to score becomes:

text
  • The trigger becomes game.on.

  • Its slots become a check at the top.

  • Each action becomes a line.

  • rt is a small helper shipped with the game: variables, timers, waits, UI.

What is in the package

FileHolds
game.jsThe entry point
runtime/*.jsThe shared helper
declarations.js, variables.jsEnumerations, roles, variables
scene.js, prefabs.jsYour scenes and prefabs
events.jsYour rows
ui.jsThe Menu and HUD
scripts/*.jsYour scripts, as written
assets/*Images and sounds

Want to keep going in code? See Studio or code?.