Difference between revisions of "Phaser: Manual"

From Phaserwiki
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin-left: 25px; float: right;">__NOTOC__</div>
+
<div style="margin-left: 25px; float: right;">__TOC__</div>
  
This is the documentation for Phaser&#8211;2.5.4. There are some changes between this version and previous versions so input scripts may need editing.
+
===Phaser Executable===
  
; [[ Modes | Modes]]
+
The Phaser executable runs in different modes, which perform Phaser's different functionalities. The mode is selected with the [[#MODE | MODE]] keyword. The different modes and the keywords relevant to each mode are described in [[Modes]].
: The different functions that Phaser can perform and the keywords relevant for each mode
+
 
; [[Keywords | Keywords]]
+
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.
: Detailed descriptions of the keywords
+
 
; [[Keyword Example Scripts | Keyword Example Scripts]]  
+
*[[Image:User1.gif|link=]] [[#Basic Keywords | Basic Keywords]]
: Copy and edit to start using Phaser from keyword input
+
 
; [[Python Example Scripts | Python Example Scripts ]]
+
*[[Image:Output.png|link=]] [[#Output Control Keywords | Output Control Keywords]]
: Copy and edit to start using Phaser from python
+
 
 +
*[[Image:User2.gif|link=]] [[#Advanced Keywords |Advanced Keywords ]]
 +
 
 +
*[[Image:Expert.gif|link=]] [[#Expert Keywords | Expert Keywords]]
 +
 
 +
*[[Image:Developer.gif|link=]] [[#Developer Keywords | Developer Keywords]]
 +
 
 +
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.

Latest revision as of 13:37, 9 March 2018

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.