Reference
Component Behaviors
Look up syntax, contracts, layouts, algorithms, and exact behavior.
Components are small deterministic update functions attached to entities. A component may mutate transform fields such as position or rotation, but it returns the updated entity and engine state explicitly. Multiple components on one entity are applied in sequence.
rotation component:
rotation += angularVelocity * delta
velocity component:
position += velocity * delta
square path component:
select edge by phase
move along edge at configured speed
star path component:
interpolate along star vertices by phaseBecause component labels are exposed in the runtime tree, they also function as instrumentation. The inspector can explain why a node moves, not only where it currently is.