__anm_tags
os_anm uses an xml tag set for defining os_anm files. The current tag set describes basic animation movies. The tag set is likely to increase as the project develops.
The source code for any of the movies in the anm movies> section can be viewed by selecting one and clicking the DISPLAY button.
__structure of a ANM_MOVIE file
An ANM_MOVIE file encloses its entire contents within a pair of ANM_MOVIE tags. Within this are SCENE tags [the current version only supports a single scene within any movie]. Each frame within a scene is enclosed in FRAME tags. Script is enclosed in ANM_SCRIPT tags which can appear anywhere within ANM_MOVIE or SCENE tags.
schematic:
+ANM_MOVIE
|
| +SCENE
| |
| | +FRAME
| | |
| | - FRAME
| |
| | +FRAME
| | |
| | - FRAME
| |
| | +FRAME
| | |
| | - FRAME
| |
| -SCENE
|
-ANM_MOVIE
__tag definitions
ANM_MOVIE
parameters:
- NAME: name of movie [obligatory]
- VERSION: version number of os_anm used to create file [obligatory]
SCENE
parameters:
- LABEL: label name for scene [optional - not necessary for current version]
FRAME
parameters:
- LABEL: label name for frame [optional - not necessary for current version]
contents:
- a set of numbers defining colour values [in the range 0 - 255] for the pixels in a frame, each number is separated by a space
ANM_SCRIPT
parameters:
- NAME: name of script [optional - not necessary for current version]
contents:
- a set of anm_scrip commands, each command ends in a semi-colon
|