badwing.character.sprite module

class badwing.character.sprite.CharacterSprite(position, main_path=':resources:images/animated_characters/male_adventurer/maleAdventurer')

Bases: arcade.sprite.Sprite

update_animation(delta_time: float = 0.016666666666666666)

Override this to add code that will change what image is shown, so the sprite can be animated.

Parameters

delta_time (float) – Time since last update.

badwing.character.sprite.load_texture_pair(filename)

Load a texture pair, with the second being a mirror image.