Log inGet started
Package

outlineBench.scene

README.md

Outline bench (Style Cookbook test scene)

A flat lit ground with a camera, for measuring what the look stack costs in a busy level. The scene itself holds only the ground, the sun, the ambient light, the sky and BenchCamera; the busy level is laid on top at run time by toonBlocks' OutlineBench module: require("~toonBlocks.OutlineBench").build({ count = 3000, movers = 300, churnPerSecond = 30, recolourPerSecond = 10 }) lays out 3,000 objects (most standing, 300 moving every frame like moving platforms, 30 a second spawned and as many despawned, 10 a second given another material), all local and temporary. Put a toon look on (require("~styleKit.StyleKit").applyLook("comicInkCel")) and read OutlineBench.measure(10) for the look stack's script cost on every frame; OutlineBench.destroy() takes the level away. design/bench/bench_measure.luau is the script the release numbers were taken with.

Contents

  • ground, sun, ambient, sky, BenchCamera (14 m up, 46 m back, looking at the middle).
  • Player intent "none": nobody spawns here; it is a measuring scene.

Entry point

  • entrypoint.luau — the engine's starter entrypoint; nothing extra runs on load.