Phaser: Manual

From Phaserwiki
Revision as of 12:37, 9 March 2018 by Airlie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Phaser Executable

The Phaser executable runs in different modes, which perform Phaser's different functionalities. The mode is selected with the MODE keyword. The different modes and the keywords relevant to each mode are described in Modes.

Most keywords only refer to a single parameter, and if used multiple times, the parameter will take the last value input. However, some keywords are meaningful when entered multiple times. The order may or may not be important.

str          string
int          integer
float        double precision floating point
dvect3       array of 3 doubles

Python Interface

Phaser can be compiled as a python library. The python interface takes a phaser keyword string as input.