Module 10 · In Studio · challenge 3 of 3 in this lesson
textureCost returns the pixel count relative to 512 × 512
A test in Studio grades it and prints a pass code.
Open
Level 3, Professional
Challenge
Fix the three budget rules in challenges/mobile_budgets_work.luau on m14-ship. Press Play and run this in the server command bar:
game.ServerScriptService.RunGameTests:Invoke("mobile-budgets")
- Start from
- The game at milestone m14 (download)
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("mobile-budgets")in the server command bar. Copy the pass code from Output.
Done means
- textureCost returns the pixel count relative to 512 × 512
- radiiValid follows the stricter Beacon Yard rule: equal radii are invalid, not only inverted ones
- streamingCanHide is true only for Workspace with streaming on
- challenges/mobile-budgets.luau prints TEST PASS for all ten cases