jjPARTICLELEAF class by value JJ2+

Extra properties of a PARTICLE::LEAF particle, see jjPARTICLE::leaf

Properties

uint8 countup
0 while the leaf drifts, then counts the ticks it lies on the ground until it disappears at 140
uint8 frame
Animation step of the drifting leaf (0-31), two steps per frame shown
uint16 frameBase
First frame of the leaf animation, an index of jjAnimFrames
uint8 height partially supported
Height above the ground at which the leaf settles, defaults to 2, currently not used by the game
bool noclip
Whether the leaf passes through the ground instead of settling on it

Property documentation

uint8 jjPARTICLELEAF::height

Height above the ground at which the leaf settles, defaults to 2, currently not used by the game