SOFTLEASH / DOCUMENTATION
Scene Stack
Organize menus, gameplay, and pause screens as a stack of scenes.
A working outline. The snippets below use plain LÖVE and Lua, not the final SoftLEASH API.
Overview
A scene stack gives each part of a game a clear place to live. A menu can sit above gameplay, while a pause screen can temporarily take control without rebuilding the world underneath.
Use this page to explain scene ownership, update and draw order, and the lifecycle of a scene. Add the real push, pop, and replace operations once the SoftLEASH API is documented.
LÖVE example
A small, plain LÖVE example for the draft. Replace this snippet with the documented SoftLEASH API and a focused use case later.
What to document next
Scene creation and lifecycle callbacks.
Which scenes receive input, update, and draw calls.
Transitions, overlays, and cleanup.
