Module 4 · In Studio · challenge 3 of 3 in this lesson
Workspace.Yard.Canopy exists, size 20 by 1 by 20
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Put a roof over the beacon that does not block anyone. The check is challenges/world-building.luau in the game repo.
- Start from
- The game at milestone m06 (download)
- Grade it
- To grade work from an earlier milestone, apply your challenge changes to a checkout based on
m14-ship, which includes the Course Runner. In Studio, press Play, then rungame.ServerScriptService.RunGameTests:Invoke("world-building", "world-building-canopy")in the server command bar. Copy the pass code from Output.
Done means
- Workspace.Yard.Canopy exists, size 20 by 1 by 20
- Its X and Z are within 1 stud of 0, and Y is at least 12
- It is anchored with CanCollide off
- The test prints TEST PASS for canopy_present, canopy_size, canopy_place and canopy_flags