Skip to content

animation

Select an animation sequence for self.graph. A process plays it on the simulation clock. Available as animation after import_globals() or mv.graphics.animation.

Parameters

  • name — A named sequence in self.file, or a list of ids.
  • options? — A table with fps and loop.
self.file = hero
self.graph = animation("walk")

Related: graph, mv.graphics.animation_elapsed.

See the drawing guide for more examples and limits.