Recent Changes - Search:

Documentation

Help

Tutorials

RoadMap

Help Docs for wiki writers:

PmWiki

edit SideBar

<Animation>

This denote the engine should create a new Animation with the following attributes

Attributes

Required

name
name of the Animation in the render list quotes are required around the name
example
name="animation1"

filename
name of the file to load quotes are required around the file name
example
filename="test2.bmp"

x
x location of the Animation
example
x=20

y
y location of the Animation
example
y=30

z
z location of the Animation -z is behind the viewer +z is in front of the viewer
example
z=3

numberofframes
This is the number of columns of frames the animation has
example
numberofframes=5

rowsofframes
This is the number of rows of frames the animation has
example
rowsofframes=1

fps
Frames per Second the animation should play at
example
fps=30

Optional

renderlist
name of the renderlist to put the sprocket into. quotes are required around the name of the render list. The renderlist must exist in code first before loading of the config file.
defaults to Current renderlist
example
renderlist="Default"

transparency
enables or disables Key Color transparency for the image
defaults to false
example
transparency=true

startingframe
The frame to start playing the animation from. The first frame of all Animations is zero.
defaults to 0
example
startingframe=1

numberofloops
Number of times to play the animation. Setting this to zero makes the animation loop forever
defaults to 1
example
numberofloops=5

playnow
If this is set to true the animation will start playing after it is loaded
defaults to true
example
playnow=false

example of Animation tag
<Animation 
   name="animation1" 
   filename="test2.bmp" 
   x=20 
   y=30 
   z=3 
   renderlist="Default" 
   transparency=true 
   fps=30 
   numberofframes=5 
   rowsofframes=1 
   startingframe=1 
   numberofloops=5 
   playnow=false>
</Animation>
Edit - History - Print - Recent Changes - Search
Page last modified on August 21, 2008, at 01:03 PM