makeSpriteAnimation
makeSpriteAnimation(
frames,fps,loop?):SpriteAnimation
Defined in: src/modules/animation/sprite-animation.ts:52
Create a SpriteAnimation that cycles through frames at fps.
Starts at frame 0. Defaults to loop = true.
Parameters
Section titled “Parameters”frames
Section titled “frames”string[]
number
boolean = true