Use this reference when you know the system, file, command, or API you need. Start with the Perro Book for a guided first project.
Find one trusted page fast, see the ownership model, copy a complete example, and know what failure looks like before the code runs.
Perro docs follow the same runtime split as the engine:
project files -> compiler + CLI -> packed assets -> runtime -> script context
Script context windows stay explicit:
ctx.run-> live scene, nodes, time, signals, and runtime mutationctx.res-> assets, resource formats, and resource lifetimectx.ipt-> keyboard, mouse, gamepad, and action input
Use the book for a linear path.
Use reference pages for exact calls, fields, limits, and failure behavior.
Avoid copying a single API call without its ownership and lifetime rules.
Avoid using history pages as current guidance.
- Resource management
- Materials
- Material files
- Shaders
- Animation
- Animation files
- Audio
- SSAO
- 2D shadows
- Navigation meshes
History and audit pages preserve decisions, measurements, and migration notes. Use current guides for implementation.
Search reads titles, summaries, headings, slugs, and the first body segment. Group filters narrow results without changing canonical routes.
markdown -> build validation -> generated docs data
-> left nav + article + right TOC
-> search + deep links + prev/next
To add player input:
- Read Input for the decision model.
- Use Input API for context ownership.
- Pick Actions for remappable input.
- Copy a complete example and keep its failure checks.
- Run
perro checkbeforeperro dev.
The website build fails on empty summaries, duplicate routes, duplicate heading IDs, missing nav groups, broken internal docs links, and broken anchors.
Unknown docs routes render the shared 404 page.
Search runs against generated local text.
No hosted search service or client index fetch sits on the reading path.
Docs work with SSR, hydration, keyboard navigation, and reduced motion.
Use the Book API Map for topic-to-reference links.
Use the generated docs search for exact call names.