Trees | Indices | Toggle frames |
---|
Sprite
To execute any action you need to create an action:
move = MoveBy( (50,0), 5 )
In this case, move is an action that will move the sprite 50 pixels to the right (x coordinate) and 0 pixel in the y coordinate in 5 seconds.
And now tell the sprite to execute it:
sprite.do( move )
Sprite
Sprites are sprites that can execute actions.
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Wed Jul 07 22:46:48 2010 | http://epydoc.sourceforge.net |