Module sprite

Module sprite 

Source
Expand description

Sprites

Structsยง

PxSprite
A sprite
PxSpriteAsset
A sprite. Create a Handle<PxSpriteAsset> with a [PxAssets<PxSprite>] and an image. If the sprite is animated, the frames should be laid out from top to bottom. See assets/sprite/runner.png for an example of an animated sprite.