SOFTLEASH / DOCUMENTATION
Components
Compose game objects from small, focused pieces of behavior.
A working outline. The snippets below use plain LÖVE and Lua, not the final SoftLEASH API.
Overview
Components give an object capabilities without making every object responsible for everything. A movement component, visual component, or interaction component can keep its work focused.
Document how components attach to objects, receive lifecycle callbacks, and find other components. Use this space for the actual SoftLEASH composition patterns and constraints.
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
Attaching and removing components.
Lifecycle order and dependencies.
Sharing data without unnecessary coupling.
