Glossary
Words underlined like this across the site show these definitions when you hover them.
- asset
- Any file the game loads: a level, a model, a texture, a sound, a script, a data file. Studio lists them all in its Project window.
- client
- A player's copy of the game. It runs the same scripts, and shows the player what the server decided.
- collider
- An invisible shape that things bump into: walls, floors, props. The player never sees it, only stops at it.
- component
- One script attached to one entity. The same script on ten entities is ten components, each with its own copy of the script's fields.
- constant
- A field declared with plain let. The script cannot change it while running, but a level can set a different value for each placed component in the editor.
- entity
- A thing in the game world: a player, a ball, a trigger, an empty marker. On its own it only has a name and a place in the hierarchy; components give it behaviour.
- event
- A function the engine (or another script) calls on your component when something happens: every frame, when it is created, when something overlaps a trigger.
- field
- A variable declared at the top of a script. Every component made from the script has its own copy.
- hierarchy
- The parent/child tree entities form. Moving a parent moves its children with it.
- identity
- The permanent ID every asset carries. References use it rather than the path, which is why a file can be moved without breaking what uses it.
- inheritance
- Building one script on another with super: yours gets the parent's fields and functions and changes only what it needs to.
- instance
- One placement of a prefab. Every instance builds the same entities; each can change a few of their values with patches.
- layer
- A switch the game turns on and off, such as a season or an event. Entities tagged with a layer only take part while it is on.
- level
- A file of entities: a map, or a smaller piece placed inside one.
- list
- An ordered collection of values, read and written by position, starting at 0.
- local
- A variable declared with let inside a function. It exists only until the function returns.
- material
- How a surface looks: one of the game's shaders, with the textures and values that feed it.
- model
- A 3D object the game draws: a mesh, the materials on its parts, and simpler versions of itself for far away.
- mutable
- A field declared with let mut. The script's running state: it changes while the game runs.
- native
- A function built into the engine, called with a $ in front: $entity.get_name(e). Natives are how a script reaches anything outside itself.
- null
- No value: the answer when there is no such entity, no such component, nothing to return.
- offer
- Something the store sells: what you get, what it costs, and in which currency.
- override
- Your copy of a shipped file, at the same path. While your mod is installed the game loads your copy instead of the original.
- package
- A bundle of files the game loads together, such as everything one map needs. Studio keeps the lists of what is in each package for you.
- patch
- A change one prefab instance makes to a value inside it, without editing the prefab itself or any other instance.
- prefab
- A level built to be placed many times. Each placement is an instance, and its entities become children of the entity that places it.
- reference
- One file naming another it needs: a level names its models, a model its materials, a material its textures.
- replication
- The server sending a component's changed fields to every client, so they all agree.
- script
- A .vscript file. It describes one kind of component: its fields and what it does when the engine calls it.
- server
- The machine that runs the match and decides what really happened. Every player's game talks to it.
- shipped
- Part of the game as it was released. Shipped files are never changed; a mod layers its own files over them.
- target
- A kind of client your mod is built for, such as PC Standard or PC Low-res. Each needs its own copy of anything the graphics card draws.
- texture
- An image a material uses: the colour of a surface, its bumps, how shiny it is.
- tick
- One step of the game's simulation. The engine runs one tick per frame and calls your tick events in it.
- trigger
- An invisible shape that notices things entering it but doesn't stop them. Teleport pads and kill zones are triggers.
- user
- A person playing, or a bot. Players, the balls they hold and the things they spawn are owned by a user.
- workspace
- Your mod in Studio: every file you added or changed, kept apart from the game's own files until you install or export it.