Skip to content

Control flow

GDavid edited this page Dec 23, 2021 · 7 revisions

Trick: Early Evaluate

Allows reordering tricks dynamically

stat value
complexity 1
projection 0

Trick: Reevaluate

Repeats a trick / recalculates the result of a piece.

stat value
complexity 1 + complexity of target
any other stat same as target

Operator: Branch

Clockwise, Counterclockwise, Bidirectional, In-Out, Bridge Connector

A powerful way to move data around the spell grid

piece complexity
Clockwise Connector 1
Counterclockwise Connector 1
In-Out Connector 1
Bidirectional Connector 0
Bridge Connector 1

Selector: Saved Vector Component, Trick: Save Vector Component

Allows addressing the components of saved vectors individually

component address
saved[n].x n * 3
saved[n].y n * 3 + 1
saved[n].z n * 3 + 2