Module ggez_goodies::particle [] [src]

Structs

ParticleSystem
ParticleSystemBuilder

Enums

EmissionShape

Defines where a new particle should be created. TODO: This basic idea should be used for both initial position and initial velocity... Uniform, direction, cone, line...

Transition

A structure that represents a transition between set properties, with multiple potential defined points. So for instance you could use Transition and define a transition of colors from red to orange to grey to do smoke. You could also use Transition to just represent a size curve. So really this is a general-purpose easing type thing... It assumes that all time values range from 0 to 1.

Traits

Interpolate

A trait that defines a way to do some sort of lerp or easing function on a type.

Functions

lerp

Linear interpolation; assumes input value is in the range 0-1 and returns it interpolated to the given bounds.

Type Definitions

EasingFn