Document the Script API surface and update the glossary (#75) #87
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/cinnabar#87
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#75
What to build
A tooling developer can write a
.d.luaudefinition file against a stable, documented Script API. Write one Wiki page describing the whole surface as shipped by the preceding tickets:Component.defineand field Kinds, Component instances (gameObject, field access,IsAlive,Destroy,GetComponent), lifecycle methods and their timing (Awake,Start,Update,FixedUpdate,OnDestroy), theGameObjectclass (statics, properties, methods),transform,Time,print/warn, globalDestroy, dead-Handle errors, Script loading and hot reload semantics throughcinnabar.script/1, and update ordering guarantees.Update the glossary with entries for Script, Script API, Script Component and the
cinnabar.scriptInterface, and record the Plugin List Order note that a game wanting Scripts to see this frame's physics listsluauafter the physics Plugin. Record an ADR only if a decision was made during implementation that the parent spec does not already state.Not a vertical slice; it closes story 44 of the parent.
Acceptance criteria
luauand physics is in the glossary or the pagetests/luausuite exercisesBlocked by