badwing.particle module

class badwing.particle.AnimatedAlphaParticle(filename_or_texture: Union[str, arcade.texture.Texture], change_xy: Union[Tuple[float, float], List[float]], start_alpha: int = 0, duration1: float = 1.0, mid_alpha: int = 255, duration2: float = 1.0, end_alpha: int = 0, center_xy: Union[Tuple[float, float], List[float]] = 0.0, 0.0, angle: float = 0, change_angle: float = 0, scale: float = 1.0, mutation_callback=None)

Bases: arcade.particle.LifetimeParticle

A custom particle that animates between three different alpha scenes

update()

Advance the Particle’s simulation

badwing.particle.clamp(a, low, high)