PVSnesLib  4.5.0
Documentation to code in C or ASM for the Nintendo SNES
Loading...
Searching...
No Matches
t_metasprite Struct Reference

#include <sprite.h>

Detailed Description

Metasprite sub-item structure

Parameters
dxdelta X coordinate of the sprite relative to the metasprite origin (0,0)
dydelta Y coordinate of the sprite relative to the metasprite origin (0,0)
dtilestart tile relative to the metasprites own set of tiles
propsproperty Flags (palette and priority, flip x/y will be added later)

Metasprites are built from multiple metasprite_t items (one for each sub-sprite) and a pool of tiles they reference. If a metasprite has multiple frames then each frame will be built from some number of metasprite_t items (which may vary based on how many sprites are required for that particular frame).

A metasprite frame is terminated with a {metasprite_end} entry.


The documentation for this struct was generated from the following file: