SpriteSheetAnimation

</> ursina.prefabs.sprite_sheet_animation
Inherits Entity

Initialization

SpriteSheetAnimation(texture=None, animations=None, tileset_size=[4, 1], fps=12, model='quad', autoplay=True)

Attributes

.animations

default: animations
should be a dict


Methods

play_animation()

play_animation(animation_name=None)