Lesson 2 of 11
Prototype fast: paper, greybox, blockout
Prototype faster than you polish: compare paper and Studio prototyping, read spaces by landmarks and sightlines, and greybox two new Beacon Yard zones as data.
By the end you can
- Choose cleanly between paper prototyping and Studio greyboxing for a given design question
- Shape space with landmarks, sightlines, kiting loops and deliberate choke points
- Greybox two new Beacon Yard zones as pure layout data for MapBuilder.luau
- Verify a blockout with automated sightline, choke-width and zone-reachability checks before adding art
Before this: Pillars and loops: moment, session, meta, World building in code: MapBuilder, lighting, atmosphere
1Paper first, or Studio first?
Roblox's prototyping guide compares two fast ways to test an idea before committing engineering weeks: paper prototyping and Studio prototyping1. The difference between prototyping and building a feature is scope: a prototype tests one specific question and throws away everything else.
- Paper prototyping wins for UI flows, shop layouts, map topology and turn rules. Sketching a HUD or cutting index cards takes ten minutes and lets you change a menu structure before writing a single React component. Its weakness is feel: paper cannot simulate
WalkSpeed = 16, camera occlusion or melee range, and paper exercises can create false positives that feel flat on a phone screen. - Studio prototyping wins for movement, sightlines, combat timing and networking feasibility. Untextured Parts get a tester into Play far sooner than finished art (though still slower than paper), catch technical limits early, and reuse the layout directly when the test succeeds. Its cost is narrower scope per iteration because scripting takes longer than erasing pencil lines.
| In the picture | In Roblox |
|---|---|
| Plain white foam-core walls | Untextured anchored Parts colour-coded by gameplay role |
| Moving a wall with a pin | Changing a zone table or dragging a Part in seconds without redoing art |
| Checking room proportions | Testing sightlines, kiting loops and choke widths before Blender assets |
A greyboxGreybox (blockout)A playable level built from untextured, colour-coded primitive parts to test scale and flow before art.Think of it as an architect's foam-core maquette built to check room sizes before pouring concrete. (or blockout) is an architect's foam-core maquette built before pouring concrete. Every part is a plain colour-coded block so you judge scale, sightlines and traffic flow without getting attached to expensive art.
Think of it as An architect's foam-core model before pouring concrete
You want to test whether Beacon Yard's 16-stud north gate feels too tight when two players dodge the drone and a scrap crawler at the same time. Which prototype answers that question honestly?
Answer
A Studio greybox with untextured Parts, the real WalkSpeed (16) and the real drone/crawler speeds. Use paper for menus and rough zone graphs; move to a Studio greybox the moment real-time movement, camera or combat spacing is the question.
Open this step in lesson mode · Link to this step · This confused me
2Reading Beacon Yard's real geometry
Look at how MapBuilder.luau constructs the yard at m14-ship:
local wallHeight = 10
local wallThick = 2
local inner = 88
local halfInner = inner / 2
local wallCenter = halfInner + wallThick / 2
local outerSpan = inner + wallThick * 2
local gateWidth = 8
local gap = gateWidth * 2
local segment = (outerSpan - gap) / 2
local segmentCenter = gap / 2 + segment / 2
local wallY = wallHeight / 2
And look at the only two pieces of interior cover in the whole 88-by-88-stud arena:
-- Two stacks of scrap. They are solid, tall and in the crawler's way,
-- which gives its pathfinding something to go around. The navigation
-- mesh is built from whatever anchored geometry is in the yard.
anchoredPart(
"ScrapStack1",
Vector3.new(12, 4, 2.5),
CFrame.new(-6, 2, -8),
Color3.fromRGB(120, 84, 60),
Enum.Material.CorrodedMetal,
yard
)
anchoredPart(
"ScrapStack2",
Vector3.new(2.5, 4, 12),
CFrame.new(16, 2, -4),
Color3.fromRGB(120, 84, 60),
Enum.Material.CorrodedMetal,
yard
)
local base = yard:FindFirstChild("Base")
if base and base:IsA("BasePart") then
WorldLook.apply(base, "asphalt")
Read those coordinates like a level designer:
- Spawn sits at
(-30, 3, 0). Beacon sits at(0, 1.5, 0)with its crystal rising toy = 8.5. Straight east alongz = 0, nothing stands between spawn and the beacon: that is a clean sightlineSightlineAn unobstructed line of sight from where a player stands to a landmark, objective or threat.Think of it as a clear hallway window that shows you the exit without needing a sign.. - ScrapStack1 sits at
(-6, 2, -8)with height4studs (top aty = 4). A standard R15 character's eyes sit around4.5studs above the floor, so you can see the glowing beacon crystal over the stack, while the ground crawler (HIP_HEIGHT = 0.5) has to path around it. - The north gate (
GateLeft+GateRight) opens a16-stud gap atz = 45, yet behind the gate atm14-shipthere is only an empty void. Players watch the gate slide open during every drill and have nowhere to go through it.
The inner yard is 88 studs wide. At base WALK_SPEED = 16 studs per second, how many seconds does it take a player to sprint straight from the west wall (x = -44) to the east wall (x = 44)?
Answer
5.5 seconds (within 0.1). 88 / 16 = 5.5 seconds (and only 3.7 seconds with Speed owned at 24 studs/s). Knowing exact traversal seconds lets you size new zones to your 40-second drill clock.
Open this step in lesson mode · Link to this step · This confused me
3Landmarks, flow loops and choke points
Great Roblox spaces teach navigation without a single glowing arrow or text sign. Four spatial tools do the work:
- Landmarks (macro, meso, micro): one tall focal point visible from everywhere (the cyan beacon crystal at
y = 8.5), medium zone silhouettes (overhead gantry ribs in the North Vault), and local pickups (gold coin pads). - Sightlines: frame the next objective the instant a player crosses a threshold. If you spawn facing a blank wall, players spin the camera and bounce.
- Kiting loops (no dead ends): in an action game where enemies chase you, every combat pocket needs at least two exits so players weave around cover instead of getting cornered.
- Deliberate choke pointsChoke pointA narrow passage that funnels movement between two larger spaces.Think of it as a doorway where two runners cannot easily pass side by side.: a narrowed gateway (like the
16-stud north gate) concentrates risk and reward. Keep walkable chokes at least4xa character's collision radius (roughly8studs minimum for a 2-stud radius) so two players or a player and a crawler never wedge stuck. PathfindingService's defaultAgentRadiusis 2 studs2, so an 8-stud choke is two agents wide, the smallest gap a player and a crawler can pass each other in.
Both sidesRemember: A greybox blockout is an architect's foam-core model before pouring concrete.
Notice how the flank passage turns the North Scrap Vault from a lethal cul-de-sac into a risk-reward loop: you charge through the 16-stud north gate while the drill is active, fight around the vault cover, and peel back down through the 10-stud flank into the West Apron if the drone blocks the gate.
You greybox the flank return corridor at 5 studs wide. A player (radius 2 studs) and a scrap crawler (3 studs wide) meet inside it. What happens during playtests?
Answer
The corridor wedges players against the crawler, turning the flank into a trap instead of an escape loop. Keep combat connectors at least 8 to 10 studs wide (4x player radius) so both players and PathfindingService agents can pass cleanly.
Open this step in lesson mode · Link to this step · This confused me
4Greybox two new zones as MapBuilder data
At m14-ship, MapBuilder.luau hardcodes every part inline. Moving zone geometry into a shared data module (src/shared/ZoneLayout.luau) lets designers tweak room sizes, cover stacks and choke widths in one table, and lets pure-Luau tests validate the blockout before Studio even opens.
Use a fixed greybox colour palette so anyone opening the place reads gameplay roles instantly:
- Navigable floor: neutral mid-grey (
SmoothPlastic) - Walls / hard bounds: dark slate grey
- Low cover (4 studs or less, see-over): warm terracotta/copper
- Tall blockers (over 4.5 studs, breaks sightline): muted charcoal
- Objectives & pickups: cyan beacon, gold pads

Select a numbered pin, or a row below, to read what it marks.
The three-zone greybox with all four station signs hidden: landmarks, floor contrast and sightlines guide a first-time player straight to the beacon.
Run this cell to test a 2D sightline check from Beacon Yard's spawn (-30, 0) to the beacon (0, 0) against the real ScrapStack1 and a tall blocker.
type Box2D = {
name: string,
minX: number,
maxX: number,
minZ: number,
maxZ: number,
height: number,
}
local EYE_HEIGHT = 4.5
local function segmentHitsBox(ax: number, az: number, bx: number, bz: number, box: Box2D): boolean
local dx = bx - ax
local dz = bz - az
local tMin, tMax = 0, 1
local function clip(p: number, q: number): boolean
if p == 0 then
return q >= 0
end
local r = q / p
if p < 0 then
if r > tMax then return false end
if r > tMin then tMin = r end
else
if r < tMin then return false end
if r < tMax then tMax = r end
end
return true
end
-- Fix: test all four slab boundaries (-dx, dx, -dz, dz) and return true when all pass.
if not clip(-dx, ax - box.minX) then return false end
if not clip(dx, box.maxX - ax) then return false end
return true
end
local function hasSightline(ax: number, az: number, bx: number, bz: number, boxes: { Box2D }): boolean
for _, box in boxes do
if box.height > EYE_HEIGHT and segmentHitsBox(ax, az, bx, bz, box) then
return false
end
end
return true
end
local scrapStack1: Box2D = { name = "ScrapStack1", minX = -12, maxX = 0, minZ = -9.25, maxZ = -6.75, height = 4 }
local tallPillar: Box2D = { name = "TallPillar", minX = -16, maxX = -12, minZ = -2, maxZ = 2, height = 9 }
print("With ScrapStack1 only:", hasSightline(-30, 0, 0, 0, { scrapStack1 }))
print("With TallPillar:", hasSightline(-30, 0, 0, 0, { scrapStack1, tallPillar }))
Now write the validator the game will use. Do this challenge before the BuildAlong below, because the BuildAlong copies your passing file into the game.
Level 3, Professional
Challenge
Implement the blockout validator in challenges/work/blockout_check.luau. The written solution is challenges/solutions/prototype-and-blockout.md. In Play on the server, run game.ServerScriptService.RunGameTests:Invoke("prototype-and-blockout", "prototype-and-blockout-rules") and paste the pass code here.
- Start from
- The game at milestone m14 (download)
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("prototype-and-blockout", "prototype-and-blockout-rules")in the server command bar. Copy the pass code from Output.
Done means
- segmentHitsBox accurately tests 2D XZ segment-vs-AABB intersection
- hasSightline ignores obstacles at or below EYE_HEIGHT (4.5) and fails when a taller obstacle blocks the segment
- isWalkableChoke requires widthStuds >= playerRadius * 4
- allZonesReachable traverses undirected links from startId and verifies every zone is reached
- validateBlockout checks sightline, every connector width, zone reachability and loop presence (links >= zones when 3+ zones)
- challenges/prototype-and-blockout.luau prints TEST PASS for every check
Hints
- Treat links as undirected: if A connects to B, B also connects to A during BFS.
- Collect every failing reason into a list so a designer sees all layout problems at once, not just the first one.
- Pure Luau: you can run the test with the Luau runner or in Studio with RunGameTests:Invoke('prototype-and-blockout', 'prototype-and-blockout-rules').
Build along
src/shared/BlockoutCheck.luausrc/shared/ZoneLayout.luausrc/server/MapBuilder.luausrc/shared/data/zones.json
Copy your passing
challenges/work/blockout_check.luauintosrc/shared/BlockoutCheck.luau.validateBlockout(layout)returns{ ok, reasons }with any ofblocked-sightline,narrow-choke,unreachable-zoneandno-kiting-loop.You should see BlockoutCheck.luau is pure Luau with no requires: segmentHitsBox, hasSightline (EYE_HEIGHT 4.5), isWalkableChoke, allZonesReachable and validateBlockout.
Create
src/shared/ZoneLayout.luauwith the existing 88-by-88 yard plus two new greybox zones: a West Loading Apron (x = -72..-46,SPAWN = Vector3.new(-60, 3, 0)looking straight through a 16-stud west doorway at the beacon) and a North Scrap Vault (z = 46..86, entered through the 16-stud north gate). A 10-stud flank passage atx = -64..-54runs from the vault back down into the apron, so the three links form a loop.existingObstaclescopiesScrapStack1andScrapStack2for the sightline check.You should see ZoneLayout.luau lists three zones (WestApron, CentralYard, NorthVault), three links with widths 16, 16 and 10, and the new floors, walls and cover as plain boxes. ZoneLayout.blockout() hands them to BlockoutCheck.
Update
MapBuilder.luau: replaceWallWestwith two segments around the doorway (z = -8..8), then loop overZoneLayout.floors,ZoneLayout.wallsandZoneLayout.obstacleswithZoneLayout.partForandanchoredPart, colouring cover taller than 4.5 studsGREY_TALLand the restGREY_LOW. Setspawn.Position = ZoneLayout.SPAWN. Inzones.json, growYardto cover the new space, moveSpawnto(-60, 4, 0)and addWestApronandNorthVault. The existingCoinPads,Beacon,Shop,GateLeftandGateRightstay as they are.You should see MapBuilder.build() splits the west wall into WallWestSouth and WallWestNorth around a 16-stud doorway, builds a Greybox folder of untextured role-coloured Parts, and moves the SpawnLocation to ZoneLayout.SPAWN.
Press Play in Studio with the station signs hidden. Walk from
WestApronintoCentralYard, start a drill so the north gate opens, sprint intoNorthVault, and loop back through the flank passage intoWestApronwhile the drone chases you.You should see With all four stationSign calls commented out temporarily, spawning in WestApron still frames the glowing beacon dead ahead with no text needed.
The player spawns at (-30, 3, 0) and the beacon stands at (0, 1.5, 0), so the sightline runs along z = 0. Which new cover stack blocks it?
Answer
A stack 6 studs tall at (-15, 3, 0), on the line. A sightline check needs both tests: height above EYE_HEIGHT and a box that the spawn-to-beacon segment passes through. Lower the stack to 3.5 studs or move it off the line to keep the beacon visible.
Open this step in lesson mode · Link to this step · This confused me
5Where greyboxing breaks and how teams choose
Where does it break?“An architect's foam-core model before pouring concrete” is a good picture of a greybox blockout. Where does it stop being true?
It breaks here. A tabletop model never moves at WalkSpeed 16 or feels a third-person camera clip a low ceiling; you must walk every greybox at 1:1 avatar scale in Studio Play.
The true model. Greyboxing separates spatial design from visual polish. You test navigation, sightlines, timings and combat flow using cheap primitive geometry driven by data, then lock the dimensions before art begins.
A top-down diagram or foam-core blockout can pass every geometry check and still feel wrong once you press Play. Third-person Roblox cameras sit behind and slightly above the avatar: a 7-stud doorway clears the Humanoid's head yet forces the camera to zoom awkwardly into the player's back. Always test every greybox in Studio Play on both desktop and phone aspect ratios (Device Emulator) before locking dimensions.
Other ways pros do this
| Option | What it is | When pros pick it | Trade-offs |
|---|---|---|---|
| Data-driven MapBuilder greybox | Zones, connectors and obstacles defined in a Luau table and built at boot (Beacon Yard). | Maps that need automated geometry tests, procedural tweaks or clean Git diffs. | Less tactile than dragging parts by hand in Studio; best paired with a plugin or export script. |
| Hand-built Studio greybox (Parts + Folders) | Dragging colour-coded anchored Parts in Workspace and testing immediately in Play. | Organic layouts, verticality, ramps and rapid solo iteration. | Harder to diff in Git; save as a `.rbxlx` or export bounds once locked. |
| Paper / Figma top-down map | 2D zone bubbles, sightline arrows and loop sketches before opening Studio. | First 30 minutes of planning zone topology and encounter pacing. | Cannot test camera collision, jump feel or real traversal times. |
Your three-zone greybox passes every 2D sightline and choke-width check in Luau, yet playtesters complain the flank passage feels claustrophobic. What is the most likely cause?
Answer
A low ceiling or tall narrow wall is pushing the third-person camera into the player's back, which a 2D XZ check cannot see. 2D checks catch missing loops and blocked lines fast, while walking the 3D greybox in Play catches camera clipping, ceiling height and jump rhythm.
Open this step in lesson mode · Link to this step · This confused me
6Challenges and recap
Level 1, Apprentice
Challenge
Fix segmentHitsBox in the sightline-check cell above so it clips the Z slab as well as X and passes all four tests.
- Start from
- The game at milestone m14 (download)
- Check it here
- Run the code cell in the lesson view; the challenge completes when it passes. No Studio needed.
Done means
- segmentHitsBox clips against both X and Z slab bounds (-dz and dz)
- Off-axis walls (z = 10..14) no longer report a false sightline block on z = 0
- All four assertions in sightline-check pass
Hints
- Add two more clip calls right below the X checks: clip(-dz, az - box.minZ) and clip(dz, box.maxZ - az).
- Make sure both return false if clip fails.
Solution
type Box2D = {
name: string,
minX: number,
maxX: number,
minZ: number,
maxZ: number,
height: number,
}
local EYE_HEIGHT = 4.5
local function segmentHitsBox(ax: number, az: number, bx: number, bz: number, box: Box2D): boolean
local dx = bx - ax
local dz = bz - az
local tMin, tMax = 0, 1
local function clip(p: number, q: number): boolean
if p == 0 then
return q >= 0
end
local r = q / p
if p < 0 then
if r > tMax then return false end
if r > tMin then tMin = r end
else
if r < tMin then return false end
if r < tMax then tMax = r end
end
return true
end
if not clip(-dx, ax - box.minX) then return false end
if not clip(dx, box.maxX - ax) then return false end
if not clip(-dz, az - box.minZ) then return false end
if not clip(dz, box.maxZ - az) then return false end
return true
end
local function hasSightline(ax: number, az: number, bx: number, bz: number, boxes: { Box2D }): boolean
for _, box in boxes do
if box.height > EYE_HEIGHT and segmentHitsBox(ax, az, bx, bz, box) then
return false
end
end
return true
end
local scrapStack1: Box2D = { name = "ScrapStack1", minX = -12, maxX = 0, minZ = -9.25, maxZ = -6.75, height = 4 }
local tallPillar: Box2D = { name = "TallPillar", minX = -16, maxX = -12, minZ = -2, maxZ = 2, height = 9 }
print("With ScrapStack1 only:", hasSightline(-30, 0, 0, 0, { scrapStack1 }))
print("With TallPillar:", hasSightline(-30, 0, 0, 0, { scrapStack1, tallPillar }))
Level 2, Builder
Challenge
Build a quick Studio greybox of the expanded yard, hide the signs, watch a blind tester navigate it, and record one geometry fix.
- Start from
- The game at milestone m14 (download)
Done means
- Greybox two new zones in Studio using untextured colour-coded Parts with all four station signs hidden
- Run a silent 5-minute blind playtest with one friend or tester without explaining where the beacon or vault is
- Write a short timestamped note recording where they looked first, how many seconds to reach the beacon, and one layout tweak you made afterwards
Hints
- Use distinct values: dark walls, mid-grey floor, bright cyan beacon and gold pads so contrast guides the eye.
- Do not talk during the first 60 seconds; every pause or wrong turn is real blockout data.
- Test once on the Studio Device Emulator at phone size to verify the beacon still reads clearly.
A blockout has 3 zones (Apron, Yard, Vault) and only 2 undirected passages connecting them (Apron-Yard and Yard-Vault). What spatial problem does that graph guarantee?
Answer
At least one zone is a dead end with only one exit, so players can be cornered by the drone. Adding a third passage (such as the flank from the Vault back to the Apron) creates a cycle so players can kite enemies instead of backing into a dead end.
Retiring the analogy
You no longer need “an architect's foam-core model before pouring concrete”. Greyboxing separates spatial design from visual polish. You test navigation, sightlines, timings and combat flow using cheap primitive geometry driven by data, then lock the dimensions before art begins.
Recap
- Use paper prototyping for menus, flows and zone graphs; switch to a Studio greybox the moment movement speed, camera or combat spacing matters.
- Guide players with landmarks, clear sightlines, kiting loops (cycles in the zone graph) and deliberate choke points at least 4x player radius wide.
- Beacon Yard's m14-ship layout is an 88x88 slab (5.5 s across at WalkSpeed 16) with an unused 16-stud north gate; adding West Apron, North Vault and a flank passage between them creates a real loop.
- Express greybox layouts as plain data so automated checks can verify sightlines, choke widths and reachability before Blender art starts.
- Always walk the greybox at 1:1 scale in Studio Play to catch third-person camera clipping and dead corners.
A greybox blockout is an architect's foam-core model before pouring concrete, until a tabletop model never moves at WalkSpeed 16 or feels a third-person camera clip a low ceiling; you must walk every greybox at 1:1 avatar scale in Studio Play.
Queued for review
- You want to test whether Beacon Yard's 16-stud north gate feels too tight when two players dodge the drone and a scrap crawler at the same time. Which prototype answers that question honestly?
- The inner yard is 88 studs wide. At base WALK_SPEED = 16 studs per second, how many seconds does it take a player to sprint straight from the west wall (x = -44) to the east wall (x = 44)?
- You greybox the flank return corridor at 5 studs wide. A player (radius 2 studs) and a scrap crawler (3 studs wide) meet inside it. What happens during playtests?
- Your three-zone greybox passes every 2D sightline and choke-width check in Luau, yet playtesters complain the flank passage feels claustrophobic. What is the most likely cause?
Open this step in lesson mode · Link to this step · This confused me