Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Parts

Ready-made circuits for builders. Each part is one chip: paste it in-game, wire it to the components listed, and tick off the checklist to see that it works. Settings are the consts at the top of the code. Change them with Open in playground and compile again.

You do not need the lessons to use a part. Each one names the lessons it builds on, for when you want to change how it works.

From the lessons

Several lessons end with a part you can use as it is:

PartUsesLesson
Light switchSwitch, Point LightFirst Circuit
Two-way hall light2 Switches, Point LightGates and Wires
Toggle doorButton, Brick Property ChangerPure and Exec
Press-count signButton, Text DecalRemembering Values
Code door4 Switches, Brick Property ChangerCode Door
Score cardButtons, Switch, Text DecalScore Card
Dice signButton, Text DecalDice
Flickering firelightSwitch, Point LightRandom Colors
Traffic lightSwitch, Point LightEnums
Seat dimmerSeat, Point Light, Text DecalSeat Controls

Catalog

Building Parts

PartUsesBuilds on
Toggle LightButton, Point LightReacting to the Game
Combination LockButtons, Brick Property Changer, Point LightMods, Lists
Countdown SignButton, Text Decal, One Shot Audio, Point LightExec Pins
Color-Cycling LightSwitch, Point LightLists
DoorbellButton, One Shot AudioExec Pins
Zone ChimeAttached ZoneReacting to the Game
DrawbridgeServo, Button, Point LightReacting to the Game, Choosing a Value
Proximity DoorAttached Zone, Brick Property ChangerWaiting
Clock SignText DecalReacting to the Game, Number Options

Player Parts

PartUsesBuilds on
Pressure Pad DoorTouch, Brick Property ChangerReacting to the Game, Waiting
Welcome ZoneAttached Zone, Text DecalMaps
Teleporter PadAttached Zone, Teleport DestinationMaps
Shooting GalleryTarget, Text Decal, ButtonLooping Over a Map, Rich Text, Per-Player State
Healing Zone (needs admin to load)Attached ZoneLooping Over a List
Launch PadAttached ZoneReacting to the Game, Vectors and Colors
Item DispenserButton, Text DecalMaps
Paint GunSwitch, Button, Point LightRemote Control, Forking and Merging, Game Enums, Weighted Loot
Hold to UseButton, Brick Property ChangerWaiting
Moving PlatformRigid Slider, Touch, ButtonWaiting, Choosing a Value
Keycard DoorButton, Attached Zone, Brick Property ChangerMaps, Waiting

Game Systems

PartUsesBuilds on
CheckpointsAttached ZoneMaps, Mods, Per-Player State
Race TimerAttached Zone, Text DecalNumber Options, Mods, Per-Player State
Scoreboard HUDAttached Zone, Target, ButtonRich Text, Per-Player State, Looping Over a Map, A HUD for Everyone
Round ManagerButton, Text Decal, Point LightPayloads, Exec Pins, Number Options
King of the HillAttached Zone, Button, Text Decal, One Shot AudioReady Check, Exec Pins, Per-Player State, Looping Over a Map
ShopButton, TargetMods, Maps, Per-Player State
VotingButton, Text DecalLooping Over a Map, Mods, Exec Pins, Per-Player State

Capstones