Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 716 Bytes

Animation.md

File metadata and controls

24 lines (17 loc) · 716 Bytes

Animation system

There are two ways to implement animation in Warzone.

Texture animation

You can make flip through a stack of textures to implement animation. They need to be lined up in the texture page horizontally, and the offset and number of frames to cycle through are specified in the model file.

See the PIE format specification for details.

Model animation

Currently implemented for structures and droid bodies (which includes cyborg feet). You can specify animations that trigger on movement, structure activation (only implemented for Power Generator so far), shooting, and dying.

See the PIE format specification for details.